fix for miner.
This commit is contained in:
parent
9c2b0015d1
commit
1754e7ee77
@ -354,7 +354,7 @@ Miner.prototype.findNonce = function findNonce() {
|
|||||||
// performance because we do not have to
|
// performance because we do not have to
|
||||||
// recalculate the merkle root.
|
// recalculate the merkle root.
|
||||||
now = utils.now();
|
now = utils.now();
|
||||||
if (now > this.block.ts) {
|
if (now > this.block.ts && now > this.last.ts) {
|
||||||
this.block.ts = now;
|
this.block.ts = now;
|
||||||
// Overflow the nonce
|
// Overflow the nonce
|
||||||
this.block.nonce = 0;
|
this.block.nonce = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user