Skip to content

Commit 3eb0380

Browse files
committed
test: remove unused variables in p2p_invalid_block
1 parent 6f03c45 commit 3eb0380

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/functional/p2p_invalid_block.py

Lines changed: 0 additions & 2 deletions
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)