mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +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:
@@ -103,7 +103,7 @@ class InvalidateTest(BitcoinTestFramework):
|
||||
assert_equal(self.nodes[0].getblockchaininfo()['headers'], 3)
|
||||
|
||||
# Reconsider the header
|
||||
self.nodes[0].reconsiderblock(block.hash)
|
||||
self.nodes[0].reconsiderblock(block.hash_hex)
|
||||
# Since header doesn't have block data, it can't be chain tip
|
||||
# Check if it's possible for an ancestor (with block data) to be the chain tip
|
||||
assert_equal(self.nodes[0].getbestblockhash(), blockhash_6)
|
||||
|
||||
Reference in New Issue
Block a user