mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
script, test: fix python linter E275 errors with flake8 5.0.4
This commit is contained in:
@ -104,7 +104,7 @@ class P2PBlocksOnly(BitcoinTestFramework):
|
||||
self.nodes[0].setmocktime(int(time.time()) + 60)
|
||||
|
||||
conn.sync_send_with_ping()
|
||||
assert(int(txid, 16) not in conn.get_invs())
|
||||
assert int(txid, 16) not in conn.get_invs()
|
||||
|
||||
def check_p2p_inv_violation(self, peer):
|
||||
self.log.info("Check that tx-invs from P2P are rejected and result in disconnect")
|
||||
|
Reference in New Issue
Block a user