Skip to content

Commit

Permalink
[test] wallet_txn_clone: Correctly clone txin sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Dec 26, 2018
1 parent 18857b4 commit 453803a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/wallet_txn_clone.py
Expand Up @@ -65,7 +65,7 @@ def run_test(self):

# 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"]
Expand Down

0 comments on commit 453803a

Please sign in to comment.