Fix logging bug where incorrect number of zins/zouts was shown (block vs tx counts)
This commit is contained in:
@@ -4789,9 +4789,10 @@ bool ReceivedBlockTransactions(const CBlock &block, CValidationState& state, CBl
|
|||||||
nShieldedOutputsInBlock += nShieldedOutputs;
|
nShieldedOutputsInBlock += nShieldedOutputs;
|
||||||
nShieldedSpendsInBlock += nShieldedSpends;
|
nShieldedSpendsInBlock += nShieldedSpends;
|
||||||
if (fZdebug) {
|
if (fZdebug) {
|
||||||
fprintf(stderr,"%s: tx=%s has zspends=%d zouts=%d\n", __FUNCTION__, tx.GetHash().ToString().c_str(), nShieldedSpendsInBlock, nShieldedOutputsInBlock );
|
fprintf(stderr,"%s: tx=%s has zspends=%d zouts=%d\n", __FUNCTION__, tx.GetHash().ToString().c_str(), nShieldedSpends, nShieldedOutputs );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fprintf(stderr,"%s: block %s has total zspends=%d zouts=%d\n", __FUNCTION__, block.GetHash().ToString().c_str(), nShieldedSpendsInBlock, nShieldedOutputsInBlock );
|
||||||
|
|
||||||
pindexNew->nSproutValue = sproutValue;
|
pindexNew->nSproutValue = sproutValue;
|
||||||
pindexNew->nChainSproutValue = boost::none;
|
pindexNew->nChainSproutValue = boost::none;
|
||||||
|
|||||||
Reference in New Issue
Block a user