From 8e9e654c06fa682154dfcea1a924584c26d77ede Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Thu, 16 Jan 2020 14:10:15 -1000 Subject: [PATCH] Updated signrawtransaction --- 04_4_Sending_Coins_with_a_Raw_Transaction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_4_Sending_Coins_with_a_Raw_Transaction.md b/04_4_Sending_Coins_with_a_Raw_Transaction.md index 039bc94..8892590 100644 --- a/04_4_Sending_Coins_with_a_Raw_Transaction.md +++ b/04_4_Sending_Coins_with_a_Raw_Transaction.md @@ -96,7 +96,7 @@ $ btctxfee $rawtxhex2 You can now sign, seal, and deliver your transaction, and it's yours (and the faucet's): ``` -$ signedtx2=$(bitcoin-cli -named signrawtransaction hexstring=$rawtxhex2 | jq -r '.hex') +$ signedtx2=$(bitcoin-cli -named signrawtransactionwithwallet hexstring=$rawtxhex2 | jq -r '.hex') $ bitcoin-cli -named sendrawtransaction hexstring=$signedtx2 69c9ef4d1adb48596c470146ee9b60593023b6eb870b79ef666a8c9369768469 ```