Skip to content

Commit

Permalink
Bugfix: cointerra: Can handle nonces down to pdiff 1
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Nov 17, 2014
1 parent 5a4a844 commit cd181ca
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions driver-cointerra.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,6 @@ bool cointerra_wait_for_info(struct cointerra_info * const ctainfo, struct lowl_
return true;
}

static
float cointerra_min_nonce_diff(struct cgpu_info * const proc, const struct mining_algorithm * const malgo)
{
return (malgo->algo == POW_SHA256D) ? CTA_INIT_DIFF : -1.;
}

static
bool cointerra_lowl_probe(const struct lowlevel_device_info * const info)
{
Expand Down Expand Up @@ -1362,7 +1356,6 @@ static const struct bfg_set_device_definition cointerra_set_device_funcs[] = {
struct device_drv cointerra_drv = {
.dname = "cointerra",
.name = "CTA",
.drv_min_nonce_diff = cointerra_min_nonce_diff,
.lowl_match = cointerra_lowl_match,
.lowl_probe = cointerra_lowl_probe,
.thread_init = cta_prepare,
Expand Down

0 comments on commit cd181ca

Please sign in to comment.