mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
bug: int -> int64_t (#1179)
This commit is contained in:
parent
8c12ab2b47
commit
b847642428
@ -35,7 +35,7 @@ bool CMasternodeSync::IsBlockchainSynced()
|
||||
return false;
|
||||
|
||||
// same as !IsInitialBlockDownload() but no cs_main needed here
|
||||
int nMaxBlockTime = std::max(pCurrentBlockIndex->GetBlockTime(), pindexBestHeader->GetBlockTime());
|
||||
int64_t nMaxBlockTime = std::max(pCurrentBlockIndex->GetBlockTime(), pindexBestHeader->GetBlockTime());
|
||||
fBlockchainSynced = pindexBestHeader->nHeight - pCurrentBlockIndex->nHeight < 24 * 6 &&
|
||||
GetTime() - nMaxBlockTime < Params().MaxTipAge();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user