Browse Source

Validate pool address on starting generator

master
Con Kolivas 11 years ago
parent
commit
3cd82a5dd1
  1. 4
      src/generator.c

4
src/generator.c

@ -115,6 +115,10 @@ int generator(proc_instance_t *pi)
goto out;
}
clear_gbtbase(&gbt);
if (!validate_address(&cs, ckp->btcaddress)) {
LOGWARNING("Invalid btcaddress: %s, unable to start!", ckp->btcaddress);
goto out;
}
ret = gen_loop(pi, &cs);
out:

Loading…
Cancel
Save