Revert "scripted-diff: Invoke CreateNewBlock with chainstate"

This reverts commit 46b7f29340.
This commit is contained in:
Carl Dong
2021-03-16 19:32:10 -04:00
parent 0c1b2bc549
commit eede0647b0
6 changed files with 27 additions and 27 deletions

View File

@@ -244,7 +244,7 @@ CBlock TestChain100Setup::CreateAndProcessBlock(const std::vector<CMutableTransa
{
const CChainParams& chainparams = Params();
CTxMemPool empty_pool;
CBlock block = BlockAssembler(empty_pool, chainparams).CreateNewBlock(::ChainstateActive(), scriptPubKey)->block;
CBlock block = BlockAssembler(empty_pool, chainparams).CreateNewBlock(scriptPubKey)->block;
Assert(block.vtx.size() == 1);
for (const CMutableTransaction& tx : txns) {