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:
1 parent
23be0ec2f0
commit
2118301d77
22 files changed
+84
-84
No files matched your search
@@ -70,7 +70,7 @@ class MiningMainnetTest(BitcoinTestFramework):
|
||||
self.log.debug(block_hex)
|
||||
assert_equal(node.submitblock(block_hex), None)
|
||||
prev_hash = node.getbestblockhash()
|
||||
assert_equal(prev_hash, block.hash)
|
||||
assert_equal(prev_hash, block.hash_hex)
|
||||
return prev_hash
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user