Use existing chainparams variable

This commit is contained in:
Sean Bowe 2019-03-14 15:25:10 -06:00
parent 2b1252af80
commit 831725a671
1 changed files with 1 additions and 1 deletions

View File

@ -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