aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
Diffstat (limited to 'src/node')
-rw-r--r--src/node/blockstorage.cpp2
-rw-r--r--src/node/blockstorage.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/node/blockstorage.cpp b/src/node/blockstorage.cpp
index f8f1aab551..53f616de23 100644
--- a/src/node/blockstorage.cpp
+++ b/src/node/blockstorage.cpp
@@ -254,7 +254,7 @@ void BlockManager::PruneOneBlockFile(const int fileNumber)
}
}
- m_blockfile_info[fileNumber].SetNull();
+ m_blockfile_info.at(fileNumber) = CBlockFileInfo{};
m_dirty_fileinfo.insert(fileNumber);
}
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h
index ac97728c05..ba44d31581 100644
--- a/src/node/blockstorage.h
+++ b/src/node/blockstorage.h
@@ -32,7 +32,6 @@
class BlockValidationState;
class CAutoFile;
class CBlock;
-class CBlockFileInfo;
class CBlockUndo;
class CChainParams;
class Chainstate;