diff options
author | Jon Atack <jon@atack.com> | 2022-10-04 15:18:42 +0200 |
---|---|---|
committer | jonatack <jon@atack.com> | 2023-01-03 10:59:56 -0800 |
commit | 459cb637aca80f744a8399e84bc78fab60de0b5c (patch) | |
tree | bcf2240137aed6850656680f64b881ef1b8201f7 /test/functional/p2p_blocksonly.py | |
parent | cb552c5f21192d2f8f69c07130928c21301a5e7f (diff) | |
download | bitcoin-459cb637aca80f744a8399e84bc78fab60de0b5c.tar.xz |
script, test: fix python linter E275 errors with flake8 5.0.4
Diffstat (limited to 'test/functional/p2p_blocksonly.py')
-rwxr-xr-x | test/functional/p2p_blocksonly.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_blocksonly.py b/test/functional/p2p_blocksonly.py index c7297374b9..fa9ddf7ebe 100755 --- a/test/functional/p2p_blocksonly.py +++ b/test/functional/p2p_blocksonly.py @@ -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") |