From a962b2a72eb156d3d66f3abe3329072f66aa6f7e Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Thu, 16 Jan 2020 14:11:43 -1000 Subject: [PATCH] Updated signrawtransaction --- 04_5_Sending_Coins_with_Automated_Raw_Transactions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_5_Sending_Coins_with_Automated_Raw_Transactions.md b/04_5_Sending_Coins_with_Automated_Raw_Transactions.md index 0306d2b..9748b13 100644 --- a/04_5_Sending_Coins_with_Automated_Raw_Transactions.md +++ b/04_5_Sending_Coins_with_Automated_Raw_Transactions.md @@ -126,7 +126,7 @@ Note the `ismine` results. At this point you can sign and send the transaction as usual. ``` -$ signedtx3=$(bitcoin-cli -named signrawtransaction hexstring=$rawtxhex3 | jq -r '.hex') +$ signedtx3=$(bitcoin-cli -named signrawtransactionwithwallet hexstring=$rawtxhex3 | jq -r '.hex') $ bitcoin-cli -named sendrawtransaction hexstring=$signedtx3 ``` In several minutes, you'll have your change back: