mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
refactor: use chainman instead of chainParams for DeploymentActive*
This commit is contained in:
parent
deffe0df6c
commit
78adef1753
4 changed files with 60 additions and 63 deletions
|
|
@ -770,7 +770,7 @@ static RPCHelpMan getblocktemplate()
|
|||
pblock->nNonce = 0;
|
||||
|
||||
// NOTE: If at some point we support pre-segwit miners post-segwit-activation, this needs to take segwit support into consideration
|
||||
const bool fPreSegWit = !DeploymentActiveAfter(pindexPrev, consensusParams, Consensus::DEPLOYMENT_SEGWIT);
|
||||
const bool fPreSegWit = !DeploymentActiveAfter(pindexPrev, chainman, Consensus::DEPLOYMENT_SEGWIT);
|
||||
|
||||
UniValue aCaps(UniValue::VARR); aCaps.push_back("proposal");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue