Browse Source

Fix first read timeout on icarus get nonce.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
41e6f48fe5
  1. 2
      driver-icarus.c

2
driver-icarus.c

@ -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…
Cancel
Save