mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01: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:
@@ -95,7 +95,7 @@ class MutatedBlocksTest(BitcoinTestFramework):
|
||||
block_txn = msg_blocktxn()
|
||||
block_txn.block_transactions = BlockTransactions(blockhash=block.hash_int, transactions=[tx])
|
||||
honest_relayer.send_and_ping(block_txn)
|
||||
assert_equal(self.nodes[0].getbestblockhash(), block.hash)
|
||||
assert_equal(self.nodes[0].getbestblockhash(), block.hash_hex)
|
||||
|
||||
# Check that unexpected-witness mutation check doesn't trigger on a header that doesn't connect to anything
|
||||
assert_equal(len(self.nodes[0].getpeerinfo()), 1)
|
||||
|
||||
Reference in New Issue
Block a user