Fix get mempool txs for xpub
This commit is contained in:
parent
950520673d
commit
5c2b9f763e
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user