aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_txn_clone.py
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-12-26 21:25:19 +0100
committerMarcoFalke <[email protected]>2018-12-27 00:25:52 +0100
commit453803adc9325b83fc0532a8328d455e8bdf4de6 (patch)
tree333856e5659010b280c6ed0ba7d9980e8134a159 /test/functional/wallet_txn_clone.py
parentMerge #14960: lint/format-strings: Correctly exclude escaped percent symbols (diff)
downloaddiscoin-453803adc9325b83fc0532a8328d455e8bdf4de6.tar.xz
discoin-453803adc9325b83fc0532a8328d455e8bdf4de6.zip
[test] wallet_txn_clone: Correctly clone txin sequence
Diffstat (limited to 'test/functional/wallet_txn_clone.py')
-rwxr-xr-xtest/functional/wallet_txn_clone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_txn_clone.py b/test/functional/wallet_txn_clone.py
index d78c105c1..1c2e0a9cb 100755
--- a/test/functional/wallet_txn_clone.py
+++ b/test/functional/wallet_txn_clone.py
@@ -65,7 +65,7 @@ class TxnMallTest(BitcoinTestFramework):
# Construct a clone of tx1, to be malleated
rawtx1 = self.nodes[0].getrawtransaction(txid1, 1)
- clone_inputs = [{"txid": rawtx1["vin"][0]["txid"], "vout": rawtx1["vin"][0]["vout"]}]
+ clone_inputs = [{"txid": rawtx1["vin"][0]["txid"], "vout": rawtx1["vin"][0]["vout"], "sequence": rawtx1["vin"][0]["sequence"]}]
clone_outputs = {rawtx1["vout"][0]["scriptPubKey"]["addresses"][0]: rawtx1["vout"][0]["value"],
rawtx1["vout"][1]["scriptPubKey"]["addresses"][0]: rawtx1["vout"][1]["value"]}
clone_locktime = rawtx1["locktime"]