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);