aboutsummaryrefslogtreecommitdiff
path: root/src/test/miner_tests.cpp
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-05-18 18:31:12 +0200
committerMacroFake <falke.marco@gmail.com>2022-05-18 18:46:07 +0200
commitfafe5c0ca2927642cbcec63ac73994737e1653d6 (patch)
treeac304a0294f1016e8b6aaedd3b27fe3d2ffe2897 /src/test/miner_tests.cpp
parentfaf012b438b451dced785e7f031e07c0c55665e1 (diff)
downloadbitcoin-fafe5c0ca2927642cbcec63ac73994737e1653d6.tar.xz
Do not pass CChainParams& to BlockAssembler constructor
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r--src/test/miner_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp
index 0c3a13c5f8..01f9d68627 100644
--- a/src/test/miner_tests.cpp
+++ b/src/test/miner_tests.cpp
@@ -51,7 +51,7 @@ BlockAssembler MinerTestingSetup::AssemblerForTest(const CChainParams& params)
options.nBlockMaxWeight = MAX_BLOCK_WEIGHT;
options.blockMinFeeRate = blockMinFeeRate;
- return BlockAssembler(m_node.chainman->ActiveChainstate(), *m_node.mempool, params, options);
+ return BlockAssembler{m_node.chainman->ActiveChainstate(), *m_node.mempool, options};
}
constexpr static struct {