diff options
Diffstat (limited to 'src/test/util/mining.cpp')
-rw-r--r-- | src/test/util/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util/mining.cpp b/src/test/util/mining.cpp index ba1edba0ae..0c6487fbfa 100644 --- a/src/test/util/mining.cpp +++ b/src/test/util/mining.cpp @@ -42,7 +42,7 @@ std::shared_ptr<CBlock> PrepareBlock(const NodeContext& node, const CScript& coi { auto block = std::make_shared<CBlock>( BlockAssembler{*Assert(node.mempool), Params()} - .CreateNewBlock(::ChainstateActive(), coinbase_scriptPubKey) + .CreateNewBlock(coinbase_scriptPubKey) ->block); LOCK(cs_main); |