mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
stratum: fix wrong yaamp default diff field on connect
global change, not related to recent changes or decred additions
This commit is contained in:
parent
bd0cf57a9c
commit
4f0ad69619
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ bool client_subscribe(YAAMP_CLIENT *client, json_value *json_params)
|
||||||
debuglog("new client with nonce %s\n", client->extranonce1);
|
debuglog("new client with nonce %s\n", client->extranonce1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
client_send_result(client, "[[[\"mining.set_difficulty\",\"%s\"],[\"mining.notify\",\"%s\"]],\"%s\",%d]",
|
client_send_result(client, "[[[\"mining.set_difficulty\",\"%.3g\"],[\"mining.notify\",\"%s\"]],\"%s\",%d]",
|
||||||
client->notify_id, client->notify_id, client->extranonce1, client->extranonce2size);
|
client->difficulty_actual, client->notify_id, client->extranonce1, client->extranonce2size);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue