Browse Source

Use round instead of floor for displayed pool difficulty.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
7e59ec4f2d
  1. 2
      cgminer.c

2
cgminer.c

@ -2803,7 +2803,7 @@ static bool submit_upstream_work(struct work *work, CURL *curl, bool resubmit) @@ -2803,7 +2803,7 @@ static bool submit_upstream_work(struct work *work, CURL *curl, bool resubmit)
err = json_object_get(val, "error");
if (!QUIET) {
int intdiff = floor(work->work_difficulty);
int intdiff = round(work->work_difficulty);
char diffdisp[16], *outhash;
unsigned char rhash[32];

Loading…
Cancel
Save