test: rename CBlockHeader .rehash()/.sha256 -> .hash_int for consistency
Note that we unfortunately can't use a scripted diff here, as the `sha256` symbol is also used for other instances (e.g. as function in hashlib, or in the `UTXO` class in p2p_segwit.py).
This commit is contained in:
1 parent
8b09cc350a
commit
23be0ec2f0
33 files changed
+141
-145
No files matched your search
@@ -79,7 +79,7 @@ class P2PFingerprintTest(BitcoinTestFramework):
|
||||
|
||||
# Force reorg to a longer chain
|
||||
node0.send_without_ping(msg_headers(new_blocks))
|
||||
node0.wait_for_getdata([x.sha256 for x in new_blocks])
|
||||
node0.wait_for_getdata([x.hash_int for x in new_blocks])
|
||||
for block in new_blocks:
|
||||
node0.send_and_ping(msg_block(block))
|
||||
|
||||
|
||||
Reference in new issue
Block a user