txcount merge
parent
0b8b71fcf3
commit
f2240a3f5a
|
@ -535,6 +535,10 @@ func (w *Worker) GetXpubAddress(xpub string, page int, txsOnPage int, option Acc
|
|||
ad := &da[i]
|
||||
for _, txid := range ad.txids {
|
||||
added, _ := txcMap[txid.txid]
|
||||
// count txs regardless of filter but only once
|
||||
if !foundTx {
|
||||
txCount++
|
||||
}
|
||||
// add tx only once
|
||||
if !added {
|
||||
add := txidFilter == nil || txidFilter(&txid, ad)
|
||||
|
|
Loading…
Reference in New Issue