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
@@ -38,7 +38,7 @@ class EphemeralDustTest(BitcoinTestFramework):
|
||||
# Take value from first output
|
||||
result["tx"].vout[0].nValue -= output_value
|
||||
result["new_utxos"][0]["value"] = Decimal(result["tx"].vout[0].nValue) / COIN
|
||||
new_txid = result["tx"].rehash()
|
||||
new_txid = result["tx"].txid_hex
|
||||
result["txid"] = new_txid
|
||||
result["wtxid"] = result["tx"].getwtxid()
|
||||
result["hex"] = result["tx"].serialize().hex()
|
||||
|
||||
Reference in new issue
Block a user