Skip to content

Commit 4ee8058

Browse files
committed
tier two sync shouldn't start until the chain is synced.
1 parent bfdaf6d commit 4ee8058

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/masternode-sync.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,7 @@ void CMasternodeSync::Process()
278278
if (RequestedMasternodeAssets == MASTERNODE_SYNC_INITIAL) GetNextAsset();
279279

280280
// sporks synced but blockchain is not, wait until we're almost at a recent block to continue
281-
bool isSynced = IsBlockchainSynced(); // This is needed in regtest as well due how IsBlockchainSynced is implemented..
282-
if (!isRegTestNet && !isSynced &&
281+
if (!IsBlockchainSynced() &&
283282
RequestedMasternodeAssets > MASTERNODE_SYNC_SPORKS) return;
284283

285284
CMasternodeSync* sync = this;

0 commit comments

Comments
 (0)