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 e6867a3 commit a86109aCopy full SHA for a86109a
src/index/base.cpp
@@ -168,7 +168,7 @@ void BaseIndex::ThreadSync()
168
}
169
170
if (last_locator_write_time + SYNC_LOCATOR_WRITE_INTERVAL < current_time) {
171
- SetBestBlockIndex(pindex);
+ SetBestBlockIndex(pindex->pprev);
172
last_locator_write_time = current_time;
173
// No need to handle errors in Commit. See rationale above.
174
Commit();
0 commit comments