test: replace is not to != when comparing block hash

This commit is contained in:
brunoerg 2024-12-02 18:38:30 -03:00
parent ebe4cac38b
commit ee1b9bef00

View File

@ -738,7 +738,7 @@ class CompactBlocksTest(BitcoinTestFramework):
test_node.send_and_ping(msg)
# Check that the tip didn't advance
assert int(node.getbestblockhash(), 16) is not block.sha256
assert int(node.getbestblockhash(), 16) != block.sha256
test_node.sync_with_ping()
# Helper for enabling cb announcements