mirror of https://github.com/BTCPrivate/z-nomp.git
Bug in mpos compat auth level
This commit is contained in:
parent
d2f9be48d2
commit
6e91351af2
|
@ -47,7 +47,7 @@ module.exports = function(logger, poolConfig){
|
|||
}
|
||||
else if (!result[0])
|
||||
authCallback(false);
|
||||
else if (data.authLevel === 'worker')
|
||||
else if (mposConfig.stratumAuth === 'worker')
|
||||
authCallback(true);
|
||||
else if (result[0].password === password)
|
||||
authCallback(true)
|
||||
|
|
Loading…
Reference in New Issue