Browse Source

Unnecessary warning.

master
Con Kolivas 8 years ago
parent
commit
0a45f8f32c
  1. 4
      src/bitcoin.c

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

Loading…
Cancel
Save