From eefff65a4b0852587e0b06d93c33e2ad439d34e7 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Tue, 5 Sep 2017 16:49:18 -0700 Subject: scripted-diff: change signrawtransaction to signrawtransactionwithwallet in tests -BEGIN VERIFY SCRIPT- sed -i 's/\/signrawtransactionwithwallet/g' test/functional/*.py sed -i 's/\/signrawtransactionwithwallet/g' test/functional/test_framework/*.py -END VERIFY SCRIPT- --- test/functional/feature_cltv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/feature_cltv.py') diff --git a/test/functional/feature_cltv.py b/test/functional/feature_cltv.py index f62ae31654..e9a8945e76 100755 --- a/test/functional/feature_cltv.py +++ b/test/functional/feature_cltv.py @@ -41,7 +41,7 @@ def cltv_validate(node, tx, height): tx.nLockTime = height # Need to re-sign, since nSequence and nLockTime changed - signed_result = node.signrawtransaction(ToHex(tx)) + signed_result = node.signrawtransactionwithwallet(ToHex(tx)) new_tx = CTransaction() new_tx.deserialize(BytesIO(hex_str_to_bytes(signed_result['hex']))) @@ -54,7 +54,7 @@ def create_transaction(node, coinbase, to_address, amount): inputs = [{ "txid" : from_txid, "vout" : 0}] outputs = { to_address : amount } rawtx = node.createrawtransaction(inputs, outputs) - signresult = node.signrawtransaction(rawtx) + signresult = node.signrawtransactionwithwallet(rawtx) tx = CTransaction() tx.deserialize(BytesIO(hex_str_to_bytes(signresult['hex']))) return tx -- cgit v1.2.3