mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
test: replace is not
to !=
when comparing block hash
This commit is contained in:
parent
ebe4cac38b
commit
ee1b9bef00
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ class CompactBlocksTest(BitcoinTestFramework):
|
||||||
test_node.send_and_ping(msg)
|
test_node.send_and_ping(msg)
|
||||||
|
|
||||||
# Check that the tip didn't advance
|
# 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()
|
test_node.sync_with_ping()
|
||||||
|
|
||||||
# Helper for enabling cb announcements
|
# Helper for enabling cb announcements
|
||||||
|
|
Loading…
Add table
Reference in a new issue