Update btcchain for btcdb API change.

This commit is contained in:
Dale Rahn 2013-10-03 16:43:36 -04:00
parent b06aa1672a
commit d58fb25d98

View file

@ -113,7 +113,7 @@ func fetchTxListMain(db btcdb.Db, txList []*btcwire.ShaHash) TxStore {
// Ask the database (main chain) for the list of transactions. This // 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 // will return the information from the point of view of the end of the
// main chain. // main chain.
txReplyList := db.FetchTxByShaList(txList) txReplyList := db.FetchUnSpentTxByShaList(txList)
for _, txReply := range txReplyList { for _, txReply := range txReplyList {
// Lookup the existing results entry to modify. Skip // Lookup the existing results entry to modify. Skip
// this reply if there is no corresponding entry in // this reply if there is no corresponding entry in