diff options
author | Carl Dong <contact@carldong.me> | 2021-03-16 19:32:10 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-03-24 15:40:56 -0400 |
commit | eede0647b06b6009080c4e536a2705e911d6ee19 (patch) | |
tree | 93f730c4b9a61ce2a52679c92c1b288e4a530225 /src/test/util/mining.cpp | |
parent | 0c1b2bc549aec77b247f0103652d883227841ac5 (diff) | |
download | bitcoin-eede0647b06b6009080c4e536a2705e911d6ee19.tar.xz |
Revert "scripted-diff: Invoke CreateNewBlock with chainstate"
This reverts commit 46b7f29340acb399fbd2378508a204d8d8ee8fca.
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); |