Browse Source

Demote parse error message.

master
Con Kolivas 7 years ago
parent
commit
8f49ca913d
  1. 4
      src/bitcoin.c

4
src/bitcoin.c

@ -45,7 +45,9 @@ bool validate_address(connsock_t *cs, const char *address, bool *script, bool *s
snprintf(rpc_req, 128, "{\"method\": \"validateaddress\", \"params\": [\"%s\"]}\n", address); snprintf(rpc_req, 128, "{\"method\": \"validateaddress\", \"params\": [\"%s\"]}\n", address);
val = json_rpc_call(cs, rpc_req); val = json_rpc_call(cs, rpc_req);
if (!val) { if (!val) {
LOGERR("%s:%s Failed to get valid json response to validate_address", cs->url, cs->port); /* May get a parse error with an invalid address */
LOGNOTICE("%s:%s Failed to get valid json response to validate_address %s",
cs->url, cs->port, address);
return ret; return ret;
} }
res_val = json_object_get(val, "result"); res_val = json_object_get(val, "result");

Loading…
Cancel
Save