Fix get mempool txs for xpub

This commit is contained in:
Martin Boehm 2019-06-03 12:50:45 +02:00
parent 950520673d
commit 5c2b9f763e

View File

@ -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 {