Skip to content

Commit

Permalink
Phi2 fix difficulty factor
Browse files Browse the repository at this point in the history
  • Loading branch information
DumaxFr committed Jun 14, 2018
1 parent 8f5aafa commit f334d19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion algos.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ enum sha_algos {
ALGO_NIST5,
ALGO_PENTABLAKE,
ALGO_PHI,
ALGO_PHI2D,
ALGO_PHI2,
ALGO_POLYTIMOS,
ALGO_QUARK,
ALGO_QUBIT,
Expand Down
3 changes: 2 additions & 1 deletion ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,7 @@ static bool stratum_gen_work(struct stratum_ctx *sctx, struct work *work)
case ALGO_LBRY:
case ALGO_LYRA2v2:
case ALGO_LYRA2Z:
case ALGO_PHI2:
case ALGO_TIMETRAVEL:
case ALGO_BITCORE:
case ALGO_X16R:
Expand Down Expand Up @@ -2429,7 +2430,7 @@ static void *miner_thread(void *userdata)
case ALGO_PHI:
rc = scanhash_phi(thr_id, &work, max_nonce, &hashes_done);
break;
case ALGO_PHI2D:
case ALGO_PHI2:
rc = scanhash_phi2(thr_id, &work, max_nonce, &hashes_done);
break;
case ALGO_POLYTIMOS:
Expand Down

0 comments on commit f334d19

Please sign in to comment.