Merge pull request #388 from songnob/patch-1

Prevent pool crash when password is null
master
Snipa22 6 years ago committed by GitHub
commit 4853b1b983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -213,6 +213,8 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
// If the password is x, aka, old-logins, we're not going to allow detailed review of miners.
// Miner Variables
// prevent pool crash when pass is null
if (!pass) pass = 'x';
let pass_split = pass.split(":");
this.error = "";
this.identifier = pass_split[0];

Loading…
Cancel
Save