mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
fix tests building from 166a546078426798175bfae320dda2ed1f36b0d0
This commit is contained in:
parent
166a546078
commit
1f773006f0
@ -278,7 +278,7 @@ func TestBdb(t *testing.T) {
|
||||
testFetch(t, db, testShas, "post sync")
|
||||
|
||||
for i := len(testShas) - 1; i >= 0; i-- {
|
||||
err := db.DropAfterBlockBySha(testShas[i])
|
||||
err := db.DropAfterBlockBySha(&testShas[i])
|
||||
if err != nil {
|
||||
t.Errorf("drop after %d failed %v", i, err)
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user