diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-02-17 21:28:50 +1100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-02-17 21:28:50 +1100 |
commit | eb9183535d5fc2dfe8c0e26378f2621d3473c303 (patch) | |
tree | 70b48dc82edef8dd5d44424e46143fff8e0581c5 /src/net_processing.cpp | |
parent | 3f56df5b7564878330ddddddec8afa923a4f8390 (diff) |
Add setter for g_initial_block_download_completed
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 55d404d91e..5a7c998af7 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -892,7 +892,7 @@ void PeerLogicValidation::UpdatedBlockTip(const CBlockIndex *pindexNew, const CB const int nNewHeight = pindexNew->nHeight; connman->SetBestHeight(nNewHeight); - g_initial_block_download_completed = !fInitialDownload; + SetServiceFlagsIBDCache(!fInitialDownload); if (!fInitialDownload) { // Find the hashes of all blocks that weren't previously in the best chain. std::vector<uint256> vHashes; |