Skip to content

Commit

Permalink
Fix get mempool txs for xpub
Browse files Browse the repository at this point in the history
  • Loading branch information
martinboehm committed Jun 3, 2019
1 parent 9505206 commit 5c2b9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/xpub.go
Expand Up @@ -101,7 +101,7 @@ func (w *Worker) xpubGetAddressTxids(addrDesc bchain.AddressDescriptor, mempool
l = len(txs)
callback(m.Txid, 0, []int32{m.Vout})
if len(txs) > l {
uniqueTxs[m.Txid] = l - 1
uniqueTxs[m.Txid] = l
}
} else {
if m.Vout < 0 {
Expand Down

0 comments on commit 5c2b9f7

Please sign in to comment.