From 8f20c3ba468aa213901dbae0608ed5bca7c0db55 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 11 Dec 2016 15:08:10 +0400 Subject: [PATCH] fix future time bug (#1200) --- src/governance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/governance.cpp b/src/governance.cpp index 61f22e61d..0192b5f90 100644 --- a/src/governance.cpp +++ b/src/governance.cpp @@ -759,7 +759,7 @@ bool CGovernanceManager::MasternodeRateCheck(const CGovernanceObject& govobj, bo return false; } - if(nTimestamp > nNow - 2 * nSuperblockCycleSeconds) { + if(nTimestamp > nNow + 2 * nSuperblockCycleSeconds) { LogPrintf("CGovernanceManager::MasternodeRateCheck -- object %s rejected due to too new (future) timestamp, masternode vin = %s, timestamp = %d, current time = %d\n", strHash, vin.prevout.ToStringShort(), nTimestamp, nNow); return false;