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
@@ -103,7 +103,7 @@ class BIP68_112_113Test(BitcoinTestFramework):
|
||||
self.supports_cli = False
|
||||
|
||||
def create_self_transfer_from_utxo(self, input_tx):
|
||||
utxo = self.miniwallet.get_utxo(txid=input_tx.rehash(), mark_as_spent=False)
|
||||
utxo = self.miniwallet.get_utxo(txid=input_tx.txid_hex, mark_as_spent=False)
|
||||
tx = self.miniwallet.create_self_transfer(utxo_to_spend=utxo)['tx']
|
||||
return tx
|
||||
|
||||
|
||||
Reference in new issue
Block a user