Use existing chainparams variable
This commit is contained in:
parent
2b1252af80
commit
831725a671
|
@ -2452,7 +2452,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
|
|||
}
|
||||
|
||||
// Reject a block that results in a negative shielded value pool balance.
|
||||
if (Params().SproutValuePoolCheckpointEnabled()) {
|
||||
if (chainparams.SproutValuePoolCheckpointEnabled()) {
|
||||
// Sprout
|
||||
//
|
||||
// We can expect nChainSproutValue to be valid after the hardcoded
|
||||
|
|
Loading…
Reference in New Issue