diff --git a/src/stratifier.c b/src/stratifier.c index 68cd846a..5b7d1738 100644 --- a/src/stratifier.c +++ b/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; } }