refactor: Replace m_params with chainman.GetParams()

Fixes a TODO introduced in #24595.
This commit is contained in:
Aurèle Oulès
2022-08-12 13:50:25 +02:00
parent 57c192767b
commit 5d3f98d278
2 changed files with 38 additions and 35 deletions

View File

@@ -472,10 +472,6 @@ public:
//! Chainstate instances.
node::BlockManager& m_blockman;
/** Chain parameters for this chainstate */
/* TODO: replace with m_chainman.GetParams() */
const CChainParams& m_params;
//! The chainstate manager that owns this chainstate. The reference is
//! necessary so that this instance can check whether it is the active
//! chainstate within deeply nested method calls.