diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:31:12 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:46:07 +0200 |
commit | fafe5c0ca2927642cbcec63ac73994737e1653d6 (patch) | |
tree | ac304a0294f1016e8b6aaedd3b27fe3d2ffe2897 /src/node/miner.h | |
parent | faf012b438b451dced785e7f031e07c0c55665e1 (diff) | |
download | bitcoin-fafe5c0ca2927642cbcec63ac73994737e1653d6.tar.xz |
Do not pass CChainParams& to BlockAssembler constructor
Diffstat (limited to 'src/node/miner.h')
-rw-r--r-- | src/node/miner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/miner.h b/src/node/miner.h index 678df815c0..7cf8e3fb9e 100644 --- a/src/node/miner.h +++ b/src/node/miner.h @@ -157,8 +157,8 @@ public: CFeeRate blockMinFeeRate; }; - explicit BlockAssembler(CChainState& chainstate, const CTxMemPool& mempool, const CChainParams& params); - explicit BlockAssembler(CChainState& chainstate, const CTxMemPool& mempool, const CChainParams& params, const Options& options); + explicit BlockAssembler(CChainState& chainstate, const CTxMemPool& mempool); + explicit BlockAssembler(CChainState& chainstate, const CTxMemPool& mempool, const Options& options); /** Construct a new block template with coinbase to scriptPubKeyIn */ std::unique_ptr<CBlockTemplate> CreateNewBlock(const CScript& scriptPubKeyIn); |