Commit 41e6f48fe5fedefce0854e55a5947ff385154e9c

Con Kolivas 2013-05-19T14:02:25

Fix first read timeout on icarus get nonce.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-icarus.c b/driver-icarus.c
index 511d3e6..c015448 100644
--- a/driver-icarus.c
+++ b/driver-icarus.c
@@ -652,7 +652,7 @@ retry:
 	}
 
 	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 (tries < 3)
 			goto retry;