diff options
author | Carl Dong <contact@carldong.me> | 2021-03-17 16:32:24 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-03-24 15:40:56 -0400 |
commit | 7b8e976cd5ac78a22f1be2b2fed8562c693af5d9 (patch) | |
tree | 7cc8c7b03ef9b139d8dc5bc258cd848fc9dfc5a1 /src/test/miner_tests.cpp | |
parent | e62067e7bcad5a559899afff2e4a8e8b7e9f4301 (diff) | |
download | bitcoin-7b8e976cd5ac78a22f1be2b2fed8562c693af5d9.tar.xz |
miner: Add chainstate member to BlockAssembler
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r-- | src/test/miner_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index aa628371e6..9ba004cc38 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -44,7 +44,7 @@ BlockAssembler MinerTestingSetup::AssemblerForTest(const CChainParams& params) options.nBlockMaxWeight = MAX_BLOCK_WEIGHT; options.blockMinFeeRate = blockMinFeeRate; - return BlockAssembler(*m_node.mempool, params, options); + return BlockAssembler(::ChainstateActive(), *m_node.mempool, params, options); } constexpr static struct { |