Compute utxo stats - only non zero amounts
parent
1b41a598a2
commit
60986634bc
|
@ -1459,7 +1459,7 @@ func (d *RocksDB) computeUtxoStats(stopCompute chan os.Signal) error {
|
|||
}
|
||||
outputs += int64(len(txAddresses.Outputs))
|
||||
for i, output := range txAddresses.Outputs {
|
||||
if !output.Spent {
|
||||
if !output.Spent && len(output.ValueSat.Bits()) != 0 {
|
||||
unspent++
|
||||
size := packedTxidLen
|
||||
size += packVaruint(uint(i), buffer)
|
||||
|
|
Loading…
Reference in New Issue