diff options
| author | MarcoFalke <[email protected]> | 2018-12-26 21:25:19 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-12-27 00:25:52 +0100 |
| commit | 453803adc9325b83fc0532a8328d455e8bdf4de6 (patch) | |
| tree | 333856e5659010b280c6ed0ba7d9980e8134a159 /test/functional/wallet_txn_clone.py | |
| parent | Merge #14960: lint/format-strings: Correctly exclude escaped percent symbols (diff) | |
| download | discoin-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-x | test/functional/wallet_txn_clone.py | 2 |
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"] |