Browse Source

Demote failed validate_address warning.

master
Con Kolivas 7 years ago
parent
commit
d56e1c0122
  1. 2
      src/bitcoin.c

2
src/bitcoin.c

@ -43,7 +43,7 @@ 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_response(cs, rpc_req);
if (!val) { if (!val) {
/* May get a parse error with an invalid address */ /* May get a parse error with an invalid address */
LOGNOTICE("%s:%s Failed to get valid json response to validate_address %s", LOGNOTICE("%s:%s Failed to get valid json response to validate_address %s",

Loading…
Cancel
Save