Merge 0354206a30 into merged_master (Bitcoin PR bitcoin/bitcoin#28412)

This commit is contained in:
Byron Hambly 2025-07-21 09:40:58 +02:00
commit 21ed1add7c

View file

@ -46,12 +46,10 @@ class InvalidBlockRequestTest(BitcoinTestFramework):
self.log.info("Create a new block with an anyone-can-spend coinbase")
height = 1
block = create_block(tip, create_coinbase(height), block_time)
block.solve()
# Save the coinbase for later
block1 = block
tip = block.sha256
peer.send_blocks_and_test([block1], node, success=True)
self.log.info("Mature the block.")