mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Don't print the whole UTXODiff to log, it might be quite huge (#1318)
This commit is contained in:
parent
52427cb953
commit
0f93189c16
@ -68,7 +68,8 @@ func (csm *consensusStateManager) restorePastUTXO(blockHash *externalapi.DomainH
|
||||
return nil, err
|
||||
}
|
||||
utxoDiffs = append(utxoDiffs, utxoDiff)
|
||||
log.Debugf("Collected UTXO diff for block %s: %s", nextBlockHash, utxoDiff)
|
||||
log.Debugf("Collected UTXO diff for block %s: toAdd: %d, toRemove: %d",
|
||||
nextBlockHash, utxoDiff.ToAdd().Len(), utxoDiff.ToRemove().Len())
|
||||
|
||||
exists, err := csm.utxoDiffStore.HasUTXODiffChild(csm.databaseContext, nextBlockHash)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user