From ed53bf1ac0bedfb99fa7cd516abe6e53c3b43ac0 Mon Sep 17 00:00:00 2001 From: Javier Vargas Date: Wed, 24 Jun 2020 13:21:39 +0200 Subject: [PATCH] Update 15_2_Programming_Bitcoind_with_C.md --- 15_2_Programming_Bitcoind_with_C.md | 1 + 1 file changed, 1 insertion(+) diff --git a/15_2_Programming_Bitcoind_with_C.md b/15_2_Programming_Bitcoind_with_C.md index 8155d2a..a72588c 100644 --- a/15_2_Programming_Bitcoind_with_C.md +++ b/15_2_Programming_Bitcoind_with_C.md @@ -157,6 +157,7 @@ if (!tx_id) { Repeat the standard RPC-lookup methodology to get a new address using get new address method. ``` + rpc_method = bitcoinrpc_method_init(BITCOINRPC_METHOD_GETNEWADDRESS); lu_response = bitcoinrpc_resp_get (btcresponse); lu_result = json_object_get(lu_response,"result"); char *address = strdup(json_string_value(lu_result));