scripted-diff: test: rename CTransaction .getwtxid() -> wtxid_hex for consistency
-BEGIN VERIFY SCRIPT- sed -i "s|def getwtxid|@property\n def wtxid_hex|g" ./test/functional/test_framework/messages.py sed -i "s|getwtxid()|wtxid_hex|g" $(git grep -l getwtxid) -END VERIFY SCRIPT-
This commit is contained in:
1 parent
81af4334e8
commit
472f3770ae
20 files changed
+66
-65
No files matched your search
@@ -40,11 +40,11 @@ class EphemeralDustTest(BitcoinTestFramework):
|
||||
result["new_utxos"][0]["value"] = Decimal(result["tx"].vout[0].nValue) / COIN
|
||||
new_txid = result["tx"].txid_hex
|
||||
result["txid"] = new_txid
|
||||
result["wtxid"] = result["tx"].getwtxid()
|
||||
result["wtxid"] = result["tx"].wtxid_hex
|
||||
result["hex"] = result["tx"].serialize().hex()
|
||||
for new_utxo in result["new_utxos"]:
|
||||
new_utxo["txid"] = new_txid
|
||||
new_utxo["wtxid"] = result["tx"].getwtxid()
|
||||
new_utxo["wtxid"] = result["tx"].wtxid_hex
|
||||
|
||||
result["new_utxos"].append({"txid": new_txid, "vout": len(result["tx"].vout) - 1, "value": Decimal(output_value) / COIN, "height": 0, "coinbase": False, "confirmations": 0})
|
||||
|
||||
|
||||
Reference in new issue
Block a user