diff --git a/lib/pool.js b/lib/pool.js index c61c911..705e7e5 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -333,7 +333,7 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer // VarDiff System this.shareTimeBuffer = global.support.circularBuffer(8); this.shareTimeBuffer.enq(global.config.pool.targetTime); - this.lastShareTime = Date.now() / 1000 || 0; + this.lastShareTime = Math.floor(Date.now() / 1000); this.validShares = 0; this.invalidShares = 0;