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 04a3f65 commit e5e3745Copy full SHA for e5e3745
src/node/blockstorage.cpp
@@ -331,6 +331,7 @@ void BlockManager::Unload()
331
332
bool BlockManager::WriteBlockIndexDB()
333
{
334
+ AssertLockHeld(::cs_main);
335
std::vector<std::pair<int, const CBlockFileInfo*>> vFiles;
336
vFiles.reserve(m_dirty_fileinfo.size());
337
for (std::set<int>::iterator it = m_dirty_fileinfo.begin(); it != m_dirty_fileinfo.end();) {
0 commit comments