From ae25e28d7e5e815043e5422d106c7c7f36738dd8 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Tue, 15 Apr 2014 10:43:12 -0400 Subject: [PATCH] Update test to new API. --- ldb/dup_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ldb/dup_test.go b/ldb/dup_test.go index e22fc7f3..802dc379 100644 --- a/ldb/dup_test.go +++ b/ldb/dup_test.go @@ -151,8 +151,9 @@ out: } } - txshalist, _ := blk.TxShas() - for _, txsha := range txshalist { + txlist := blk.Transactions() + for _, tx := range txlist { + txsha := tx.Sha() txReply, err := db.FetchTxBySha(txsha) if err != nil { t.Errorf("fully spent lookup %v err %v\n", hash, err)