mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Rearranging the state.
This commit is contained in:
+1
-1
@@ -233,7 +233,7 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
|
||||
this.error = "Too many options in the login field";
|
||||
this.valid_miner = false;
|
||||
}
|
||||
if (typeof(addressSplit[1]) !== 'undefined' && addressSplit[1].length === 64 && addressSplit[1].test(hexMatch)) {
|
||||
if (typeof(addressSplit[1]) !== 'undefined' && addressSplit[1].length === 64 && hexMatch.test(addressSplit[1])) {
|
||||
this.paymentID = addressSplit[1];
|
||||
this.payout = this.address + "." + this.paymentID;
|
||||
} else if (addressSplit[1] !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user