hmm... this is weird, should be 256 but make bad shares on pool diff 2
@ -1042,11 +1042,11 @@ static void stratum_gen_work(struct stratum_ctx *sctx, struct work *work)
case ALGO_FRESH:
case ALGO_FUGUE256:
case ALGO_GROESTL:
//case ALGO_QUBIT:
diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty));
break;
case ALGO_KECCAK:
case ALGO_LYRA2:
case ALGO_QUBIT:
diff_to_target(work->target, sctx->job.diff / (128.0 * opt_difficulty));
default: