1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-29 16:04:33 +00:00

api.c Correct diff1 field name

This commit is contained in:
Kano 2012-09-02 08:05:50 +10:00
parent 2bf08bb4f8
commit 381478e65c

2
api.c
View File

@ -1793,7 +1793,7 @@ static void poolstatus(__maybe_unused SOCKETTYPE c, __maybe_unused char *param,
root = api_add_uint(root, "Remote Failures", &(pool->remotefail_occasions), false);
root = api_add_escape(root, "User", pool->rpc_user, false);
root = api_add_time(root, "Last Share Time", &(pool->last_share_time), false);
root = api_add_int(root, "Diff1 Shares", &(pool->diff1), false);
root = api_add_int(root, "Diff1 Work", &(pool->diff1), false);
if (isjson && (i > 0))
strcat(io_buffer, COMMA);