From 6ad6f2f28d718ea9b39f7bc7f843bccc5cc77a4d Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 7 Sep 2023 16:10:07 +0100 Subject: [PATCH] Merge bitcoin/bitcoin#28412: test: remove unused variables in `p2p_invalid_block` 3eb03803c4111d09c63550a6a6c09afbe3430bf6 test: remove unused variables in `p2p_invalid_block` (brunoerg) Pull request description: ACKs for top commit: stickies-v: ACK 3eb03803c4111d09c63550a6a6c09afbe3430bf6 Tree-SHA512: eadae1eb323e5562d1ea0aed43ebf0145f0fdbb6cd6d4646bbf1ca89f384820e7b9cb69f0bb04a949e9f8983a879aee8387d6f7ac3d4e4ea027f8892e656fb98 --- test/functional/p2p_invalid_block.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/functional/p2p_invalid_block.py b/test/functional/p2p_invalid_block.py index 65e7aa3adf..b99234bb39 100755 --- a/test/functional/p2p_invalid_block.py +++ b/test/functional/p2p_invalid_block.py @@ -40,12 +40,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.")