diff --git a/dap-sdk b/dap-sdk index af95f2d61ffca0151c825a2e7f468971397748da..6a4bd9f931e0645695c83e98113bbbaf0ae9d0c1 160000 --- a/dap-sdk +++ b/dap-sdk @@ -1 +1 @@ -Subproject commit af95f2d61ffca0151c825a2e7f468971397748da +Subproject commit 6a4bd9f931e0645695c83e98113bbbaf0ae9d0c1 diff --git a/modules/net/dap_chain_node_cli_cmd.c b/modules/net/dap_chain_node_cli_cmd.c index 84a160c948814a6df62e76dced7b4fecf3343abe..7852ab701539fc52c8c03bd8660077a2c20a016e 100644 --- a/modules/net/dap_chain_node_cli_cmd.c +++ b/modules/net/dap_chain_node_cli_cmd.c @@ -8611,12 +8611,11 @@ int com_exec_cmd(int argc, char **argv, void **reply) { } //send response - char * l_response = NULL; + json_object * l_response = NULL; dap_json_rpc_request_send(l_client_internal, l_request, &l_response); if (l_response) { - json_object * l_json_response = json_tokener_parse(l_response); - json_object_array_add(*a_json_arr_reply, l_json_response); + json_object_array_add(*a_json_arr_reply, l_response); } else { json_object_array_add(*a_json_arr_reply, json_object_new_string("Empty reply")); }