mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge a7a36590f5 into merged_master (Bitcoin PR bitcoin/bitcoin#25223)
This commit is contained in:
commit
616633ec35
9 changed files with 58 additions and 63 deletions
|
|
@ -301,8 +301,7 @@ CBlock TestChain100Setup::CreateBlock(
|
|||
const CScript& scriptPubKey,
|
||||
CChainState& chainstate)
|
||||
{
|
||||
CTxMemPool empty_pool;
|
||||
CBlock block = BlockAssembler{chainstate, empty_pool}.CreateNewBlock(scriptPubKey)->block;
|
||||
CBlock block = BlockAssembler{chainstate, nullptr}.CreateNewBlock(scriptPubKey)->block;
|
||||
|
||||
Assert(block.vtx.size() == 1);
|
||||
for (const CMutableTransaction& tx : txns) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue