mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-26 05:48:34 +01:00
Only the proxied versions need that data. Really. Why doesn't node blow up if I do that...
This commit is contained in:
+2
-2
@@ -479,8 +479,6 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
|
|||||||
height: activeBlockTemplate.height,
|
height: activeBlockTemplate.height,
|
||||||
difficulty: this.difficulty,
|
difficulty: this.difficulty,
|
||||||
diffHex: this.diffHex,
|
diffHex: this.diffHex,
|
||||||
clientPoolLocation: activeBlockTemplate.clientPoolLocation,
|
|
||||||
clientNonceLocation: activeBlockTemplate.clientNonceLocation,
|
|
||||||
submissions: []
|
submissions: []
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -501,6 +499,8 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
|
|||||||
height: activeBlockTemplate.height,
|
height: activeBlockTemplate.height,
|
||||||
difficulty: this.difficulty,
|
difficulty: this.difficulty,
|
||||||
diffHex: this.diffHex,
|
diffHex: this.diffHex,
|
||||||
|
clientPoolLocation: activeBlockTemplate.clientPoolLocation,
|
||||||
|
clientNonceLocation: activeBlockTemplate.clientNonceLocation,
|
||||||
submissions: []
|
submissions: []
|
||||||
};
|
};
|
||||||
this.validJobs.enq(newJob);
|
this.validJobs.enq(newJob);
|
||||||
|
|||||||
Reference in New Issue
Block a user