mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 02:02:42 +02:00
test: rename CBlockHeader .hash -> .hash_hex for consistency
Note that we unfortunately can't use a scripted diff here, as the `.hash` symbol is also used for other instances (e.g. CInv).
This commit is contained in:
@@ -623,7 +623,7 @@ class CompactBlocksTest(BitcoinTestFramework):
|
||||
tips = node.getchaintips()
|
||||
found = False
|
||||
for x in tips:
|
||||
if x["hash"] == block.hash:
|
||||
if x["hash"] == block.hash_hex:
|
||||
found = True
|
||||
break
|
||||
assert not found
|
||||
@@ -667,7 +667,7 @@ class CompactBlocksTest(BitcoinTestFramework):
|
||||
tips = node.getchaintips()
|
||||
found = False
|
||||
for x in tips:
|
||||
if x["hash"] == block.hash:
|
||||
if x["hash"] == block.hash_hex:
|
||||
assert_equal(x["status"], "headers-only")
|
||||
found = True
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user