block: fix timestamp check...again.
This commit is contained in:
parent
1052b7361c
commit
8546cc7e33
@ -185,7 +185,7 @@ Block.prototype._checkBlock = function checkBlock() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check timestamp
|
// Check timestamp
|
||||||
if (this.ts > (Date.now() + 2 * 60 * 60) / 1000) {
|
if (this.ts > (Date.now() / 1000) + 2 * 60 * 60) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user