From 0a45f8f32c0c568fe8cfcfa524f205e0ff5593e8 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 5 Jan 2017 00:57:14 +1100 Subject: [PATCH] Unnecessary warning. --- src/bitcoin.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bitcoin.c b/src/bitcoin.c index 67fd5e47..f6d21694 100644 --- a/src/bitcoin.c +++ b/src/bitcoin.c @@ -390,10 +390,6 @@ char *get_txn(connsock_t *cs, const char *hash) goto out; } res_val = json_object_get(val, "result"); - if (unlikely(!res_val)) { - LOGWARNING("Failed to get result in json response to getrawtransaction"); - goto out; - } if (!json_is_null(res_val) && json_is_string(res_val)) { ret = strdup(json_string_value(res_val)); LOGDEBUG("get_txn for hash %s got data %s", hash, ret);