Only the proxied versions need that data. Really. Why doesn't node blow up if I do that...

master
Alexander Blair 7 years ago
parent e0d39be694
commit e23658c21f

@ -479,8 +479,6 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
height: activeBlockTemplate.height,
difficulty: this.difficulty,
diffHex: this.diffHex,
clientPoolLocation: activeBlockTemplate.clientPoolLocation,
clientNonceLocation: activeBlockTemplate.clientNonceLocation,
submissions: []
};
@ -501,6 +499,8 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
height: activeBlockTemplate.height,
difficulty: this.difficulty,
diffHex: this.diffHex,
clientPoolLocation: activeBlockTemplate.clientPoolLocation,
clientNonceLocation: activeBlockTemplate.clientNonceLocation,
submissions: []
};
this.validJobs.enq(newJob);

Loading…
Cancel
Save