aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2022-07-06 14:32:19 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2022-07-12 13:38:14 -0400
commit613e2211493ae2c78b71d1f4ea62661438d2cb73 (patch)
tree9dd14dc50b4776a6b7f2fcbe4edadc641a6f6b14
parente939cf2b7645c2b20a68cb6129f3aebfdf287d61 (diff)
test: remove unnecessary parens
-rwxr-xr-xtest/functional/feature_minchainwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_minchainwork.py b/test/functional/feature_minchainwork.py
index 9d0ad5ef9d..fb4024b1b0 100755
--- a/test/functional/feature_minchainwork.py
+++ b/test/functional/feature_minchainwork.py
@@ -82,7 +82,7 @@ class MinimumChainWorkTest(BitcoinTestFramework):
msg.hashstop = 0
peer.send_and_ping(msg)
time.sleep(5)
- assert ("headers" not in peer.last_message or len(peer.last_message["headers"].headers) == 0)
+ assert "headers" not in peer.last_message or len(peer.last_message["headers"].headers) == 0
self.log.info("Generating one more block")
self.generate(self.nodes[0], 1)