Browse Source

Merged in james_hilliard/ckpool/fix-confirm (pull request #4)

Check that the result is null for accepted blocks instead of true.
master
Con Kolivas 9 years ago
parent
commit
dcf5cf1eb1
  1. 2
      src/bitcoin.c

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

Loading…
Cancel
Save