Skip to content

Commit ee1b9be

Browse files
committed
test: replace is not to != when comparing block hash
1 parent ebe4cac commit ee1b9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/p2p_compactblocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def test_invalid_tx_in_compactblock(self, test_node):
738738
test_node.send_and_ping(msg)
739739

740740
# Check that the tip didn't advance
741-
assert int(node.getbestblockhash(), 16) is not block.sha256
741+
assert int(node.getbestblockhash(), 16) != block.sha256
742742
test_node.sync_with_ping()
743743

744744
# Helper for enabling cb announcements

0 commit comments

Comments
 (0)