fix tests building from 166a546078
This commit is contained in:
parent
166a546078
commit
1f773006f0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue