block: fix timestamp check...again.

This commit is contained in:
Christopher Jeffrey 2014-05-24 18:06:52 -05:00
parent 1052b7361c
commit 8546cc7e33

View File

@ -185,7 +185,7 @@ Block.prototype._checkBlock = function checkBlock() {
}
// Check timestamp
if (this.ts > (Date.now() + 2 * 60 * 60) / 1000) {
if (this.ts > (Date.now() / 1000) + 2 * 60 * 60) {
return false;
}