fix tests building from 166a546078

This commit is contained in:
Owain G. Ainsworth 2013-07-09 22:49:58 +01:00
parent 166a546078
commit 1f773006f0

View file

@ -278,7 +278,7 @@ func TestBdb(t *testing.T) {
testFetch(t, db, testShas, "post sync") testFetch(t, db, testShas, "post sync")
for i := len(testShas) - 1; i >= 0; i-- { for i := len(testShas) - 1; i >= 0; i-- {
err := db.DropAfterBlockBySha(testShas[i]) err := db.DropAfterBlockBySha(&testShas[i])
if err != nil { if err != nil {
t.Errorf("drop after %d failed %v", i, err) t.Errorf("drop after %d failed %v", i, err)
break break