diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-10-20 13:28:11 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-10-20 16:29:02 +0200 |
commit | fac36b94ef32567c0f10b605a3a441d11559e56e (patch) | |
tree | 89d5db1c3750c10ffa74c64fab2d7c843fb0897c /src/node | |
parent | fc1073bb450d67d5229123bd9bd9a0c1f4dc7cd3 (diff) |
refactor: Remove CBlockFileInfo::SetNull
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/blockstorage.cpp | 2 | ||||
-rw-r--r-- | src/node/blockstorage.h | 1 |
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; |