aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_txn_clone.py
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2017-06-12 12:23:02 -0700
committerAndrew Chow <achow101-github@achow101.com>2018-02-17 11:42:00 -0500
commit1e79c055cd30d21ba5f8c7f81ef911d5d4e295a8 (patch)
tree22c28017f71d4f9b0dddb77cc41e733095ec84a2 /test/functional/wallet_txn_clone.py
parent8a98dfeebf58b8fc9b7c966ae0f99ad0760d7800 (diff)
downloadbitcoin-1e79c055cd30d21ba5f8c7f81ef911d5d4e295a8.tar.xz
Split signrawtransaction into wallet and non-wallet
Splits signrwatransaction into a wallet version (signrawtransactionwithwallet) and non-wallet version (signrawtransactionwithkey). signrawtransaction is marked as DEPRECATED and will call the right signrawtransaction* command as per the parameters in order to maintain compatibility. Updated signrawtransactions test to use new RPCs
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 ce26d6e0ee..d742ec4618 100755
--- a/test/functional/wallet_txn_clone.py
+++ b/test/functional/wallet_txn_clone.py
@@ -78,7 +78,7 @@ class TxnMallTest(BitcoinTestFramework):
# Use a different signature hash type to sign. This creates an equivalent but malleated clone.
# Don't send the clone anywhere yet
- tx1_clone = self.nodes[0].signrawtransaction(clone_raw, None, None, "ALL|ANYONECANPAY")
+ tx1_clone = self.nodes[0].signrawtransactionwithwallet(clone_raw, None, "ALL|ANYONECANPAY")
assert_equal(tx1_clone["complete"], True)
# Have node0 mine a block, if requested: