script, test: fix python linter E275 errors with flake8 5.0.4

This commit is contained in:
Jon Atack authored and jonatack committed 2023-01-03 10:59:56 -08:00
1 parent cb552c5f21
commit 459cb637ac
28 files changed
+93 -93

No files matched your search

+1 -1
View File
@@ -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")