mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Fix first read timeout on icarus get nonce.
This commit is contained in:
parent
9ecacb2cc9
commit
41e6f48fe5
@ -652,7 +652,7 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
memset(nonce_bin, 0, sizeof(nonce_bin));
|
memset(nonce_bin, 0, sizeof(nonce_bin));
|
||||||
ret = icarus_get_nonce(icarus, nonce_bin, &tv_start, &tv_finish, NULL, 1);
|
ret = icarus_get_nonce(icarus, nonce_bin, &tv_start, &tv_finish, NULL, 100);
|
||||||
if (ret != ICA_NONCE_OK) {
|
if (ret != ICA_NONCE_OK) {
|
||||||
if (tries < 3)
|
if (tries < 3)
|
||||||
goto retry;
|
goto retry;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user