Fix get mempool txs for xpub

pull/197/head
Martin Boehm 2019-06-03 12:50:45 +02:00
parent 950520673d
commit 5c2b9f763e
1 changed files with 1 additions and 1 deletions

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 {