From b84764242871852f5f2bab21d84d502f90a17da9 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 2 Dec 2016 16:53:28 +0400 Subject: [PATCH] bug: int -> int64_t (#1179) --- src/masternode-sync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/masternode-sync.cpp b/src/masternode-sync.cpp index 028b7f5130..e2b26b64f9 100644 --- a/src/masternode-sync.cpp +++ b/src/masternode-sync.cpp @@ -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();