mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Use round instead of floor for displayed pool difficulty.
This commit is contained in:
parent
ac5b12e1a0
commit
7e59ec4f2d
@ -2803,7 +2803,7 @@ static bool submit_upstream_work(struct work *work, CURL *curl, bool resubmit)
|
|||||||
err = json_object_get(val, "error");
|
err = json_object_get(val, "error");
|
||||||
|
|
||||||
if (!QUIET) {
|
if (!QUIET) {
|
||||||
int intdiff = floor(work->work_difficulty);
|
int intdiff = round(work->work_difficulty);
|
||||||
char diffdisp[16], *outhash;
|
char diffdisp[16], *outhash;
|
||||||
unsigned char rhash[32];
|
unsigned char rhash[32];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user