From d58fb25d98b5f747bd8497a17d89c38168327a5f Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Thu, 3 Oct 2013 16:43:36 -0400 Subject: [PATCH] Update btcchain for btcdb API change. --- txlookup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txlookup.go b/txlookup.go index af9cf8769..f5729f749 100644 --- a/txlookup.go +++ b/txlookup.go @@ -113,7 +113,7 @@ func fetchTxListMain(db btcdb.Db, txList []*btcwire.ShaHash) TxStore { // Ask the database (main chain) for the list of transactions. This // will return the information from the point of view of the end of the // main chain. - txReplyList := db.FetchTxByShaList(txList) + txReplyList := db.FetchUnSpentTxByShaList(txList) for _, txReply := range txReplyList { // Lookup the existing results entry to modify. Skip // this reply if there is no corresponding entry in