We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61de64d commit bbe82c1Copy full SHA for bbe82c1
src/index/base.cpp
@@ -162,9 +162,9 @@ void BaseIndex::Sync()
162
const CBlockIndex* pindex_next = WITH_LOCK(cs_main, return NextSyncBlock(pindex, m_chainstate->m_chain));
163
if (!pindex_next) {
164
SetBestBlockIndex(pindex);
165
- m_synced = true;
166
// No need to handle errors in Commit. See rationale above.
167
Commit();
+ m_synced = true;
168
break;
169
}
170
if (pindex_next->pprev != pindex && !Rewind(pindex, pindex_next->pprev)) {
0 commit comments