Commit bff218ab authored by Evan Duffield's avatar Evan Duffield
Browse files

Update isBlockchainSynced requirements

parent 4a268ffa
Showing with 2 additions and 2 deletions
+2 -2
......@@ -33,7 +33,7 @@ bool CMasternodeSync::IsBlockchainSynced()
CBlockIndex* pindexPrev = chainActive.Tip();
if(pindexPrev == NULL) return false;
if(pindexPrev->nHeight + 4 < pindexBestHeader->nHeight || pindexPrev->nTime + 600 < GetTime()) return false;
if(pindexPrev->nTime + 600 < GetTime()) return false;
return true;
}
......@@ -154,7 +154,7 @@ void CMasternodeSync::Process()
if(IsInitialBlockDownload()) return;
//don't begin syncing until we're almost at a recent block
if(pindexPrev->nHeight + 4 < pindexBestHeader->nHeight || pindexPrev->nTime + 600 < GetTime()) return;
if(pindexPrev->nTime + 600 < GetTime()) return;
if (pnode->nVersion >= masternodePayments.GetMinMasternodePaymentsProto()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment