Merge 9887fc7898 into merged_master (Bitcoin PR bitcoin/bitcoin#26758)

This commit is contained in:
Byron Hambly 2025-04-01 21:20:49 +02:00
commit feb8f8cf2b
12 changed files with 19 additions and 17 deletions

View file

@ -346,7 +346,7 @@ CBlock TestChain100Setup::CreateAndProcessBlock(
chainstate = &Assert(m_node.chainman)->ActiveChainstate();
}
const CBlock block = this->CreateBlock(txns, scriptPubKey, *chainstate);
CBlock block = this->CreateBlock(txns, scriptPubKey, *chainstate);
std::shared_ptr<const CBlock> shared_pblock = std::make_shared<const CBlock>(block);
Assert(m_node.chainman)->ProcessNewBlock(shared_pblock, true, true, nullptr);