diff --git a/src/bitcoin.c b/src/bitcoin.c index e16a9f1c..7f9b5f23 100644 --- a/src/bitcoin.c +++ b/src/bitcoin.c @@ -405,7 +405,7 @@ retry: } goto out; } - if (!json_is_true(res_val)) { + if (!json_is_null(res_val)) { res_ret = json_string_value(res_val); if (res_ret && strlen(res_ret)) { LOGWARNING("SUBMIT BLOCK RETURNED: %s", res_ret);