test: rename CTransaction .rehash()/.hash -> .txid_hex for consistency
Note that we unfortunately can't use a scripted diff here, as the same property and method name is also used for `CBlockHeader`/`CBlock` instances.
This commit is contained in:
1 parent
e9cdaefb0a
commit
ce83924237
30 files changed
+136
-141
No files matched your search
@@ -55,7 +55,7 @@ class UTXOSetHashTest(BitcoinTestFramework):
|
||||
if (coinbase and n > 0):
|
||||
continue
|
||||
|
||||
data = COutPoint(int(tx.rehash(), 16), n).serialize()
|
||||
data = COutPoint(int(tx.txid_hex, 16), n).serialize()
|
||||
data += (height * 2 + coinbase).to_bytes(4, "little")
|
||||
data += tx_out.serialize()
|
||||
|
||||
|
||||
Reference in new issue
Block a user