Browse Source

Only allow one connected instance per enonce1

master
Con Kolivas 11 years ago
parent
commit
0e68d49b40
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -429,7 +429,9 @@ static bool sessionid_exists(const char *sessionid, int id)
if (instance->id == id)
continue;
if (instance->enonce1_64 == session64) {
ret = true;
/* Only allow one connected instance per enonce1 */
if (instance->disconnected)
ret = true;
break;
}
}

Loading…
Cancel
Save