From 1f773006f05aef67bbeaee15f3eb8ded5af9dd42 Mon Sep 17 00:00:00 2001 From: "Owain G. Ainsworth" Date: Tue, 9 Jul 2013 22:49:58 +0100 Subject: [PATCH] fix tests building from 166a546078426798175bfae320dda2ed1f36b0d0 --- sqlite3/sqliteblock_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3/sqliteblock_test.go b/sqlite3/sqliteblock_test.go index c129c15d..12bac76d 100644 --- a/sqlite3/sqliteblock_test.go +++ b/sqlite3/sqliteblock_test.go @@ -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