mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Update btcchain for btcdb API change.
This commit is contained in:
parent
b06aa1672a
commit
d58fb25d98
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user