From d56e1c01222e114c33402f1f0fd87ebb0590e419 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 14 Jun 2018 09:01:08 +1000 Subject: [PATCH] Demote failed validate_address warning. --- src/bitcoin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitcoin.c b/src/bitcoin.c index 05ceff0e..b114fd06 100644 --- a/src/bitcoin.c +++ b/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); - val = json_rpc_call(cs, rpc_req); + val = json_rpc_response(cs, rpc_req); if (!val) { /* May get a parse error with an invalid address */ LOGNOTICE("%s:%s Failed to get valid json response to validate_address %s",