Skip to content

Commit

Permalink
test: remove unused variables in p2p_invalid_block
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoerg committed Sep 5, 2023
1 parent 6f03c45 commit 3eb0380
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/functional/p2p_invalid_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ def run_test(self):

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.")
Expand Down

0 comments on commit 3eb0380

Please sign in to comment.