Skip to content

Commit 0354206

Browse files
committed
Merge bitcoin/bitcoin#28412: test: remove unused variables in p2p_invalid_block
3eb0380 test: remove unused variables in `p2p_invalid_block` (brunoerg) Pull request description: ACKs for top commit: stickies-v: ACK 3eb0380 Tree-SHA512: eadae1eb323e5562d1ea0aed43ebf0145f0fdbb6cd6d4646bbf1ca89f384820e7b9cb69f0bb04a949e9f8983a879aee8387d6f7ac3d4e4ea027f8892e656fb98
2 parents b097a68 + 3eb0380 commit 0354206

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/functional/p2p_invalid_block.py

-2
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,10 @@ def run_test(self):
4646

4747
self.log.info("Create a new block with an anyone-can-spend coinbase")
4848

49-
height = 1
5049
block = create_block(tip, create_coinbase(height), block_time)
5150
block.solve()
5251
# Save the coinbase for later
5352
block1 = block
54-
tip = block.sha256
5553
peer.send_blocks_and_test([block1], node, success=True)
5654

5755
self.log.info("Mature the block.")

0 commit comments

Comments
 (0)