From 38c0403d711d8fd6fc7d89b826f3c043a734861b Mon Sep 17 00:00:00 2001 From: Perry Smit Date: Tue, 16 Jun 2020 15:09:47 +0200 Subject: [PATCH] Update 06_5_Sending_a_Transaction_with_Data.md error in transaction command --- 06_5_Sending_a_Transaction_with_Data.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/06_5_Sending_a_Transaction_with_Data.md b/06_5_Sending_a_Transaction_with_Data.md index ee7088b..8c0a590 100644 --- a/06_5_Sending_a_Transaction_with_Data.md +++ b/06_5_Sending_a_Transaction_with_Data.md @@ -44,7 +44,8 @@ $ changeaddress=$(bitcoin-cli getrawchangeaddress) You can now write a new rawtransaction with two outputs: one is your change address to get back (most of) your money, the other is a data address, which is the `bitcoin-cli` term for an OP_RETURN. ``` $ rawtxhex=$(bitcoin-cli -named createrawtransaction inputs='''[ { "txid": "'$utxo_txid'", "vout": '$utxo_vout' } ]''' outputs='''{ "data": "'$op_return_data'", "'$changeaddress'": 0.8995 }''') -``` +```#this end in an error: Error parsing JSON:{ "data": "transactie + Here's what that transaction actually looks like: ```