mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
test: remove unused variables in p2p_invalid_block
This commit is contained in:
parent
6f03c45f6b
commit
3eb03803c4
1 changed files with 0 additions and 2 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Reference in a new issue