From 831725a6711b6fb950c80bd6b4e3e4b90e5b42ab Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Thu, 14 Mar 2019 15:25:10 -0600 Subject: [PATCH] Use existing chainparams variable --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 40291aab1..2005a74ea 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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