mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 06:49:38 -04:00
TxGraphImpl::Compact: m_main_clusterset.m_removed is always empty
This commit is contained in:
parent
2c5cf987e9
commit
8bca0d325a
1 changed files with 1 additions and 1 deletions
|
@ -1008,7 +1008,7 @@ void TxGraphImpl::Compact() noexcept
|
|||
// to rewrite them. It is easier to delay the compaction until they have been applied.
|
||||
if (!m_main_clusterset.m_deps_to_add.empty()) return;
|
||||
if (!m_main_clusterset.m_to_remove.empty()) return;
|
||||
if (!m_main_clusterset.m_removed.empty()) return;
|
||||
Assume(m_main_clusterset.m_removed.empty()); // non-staging m_removed is always empty
|
||||
if (m_staging_clusterset.has_value()) {
|
||||
if (!m_staging_clusterset->m_deps_to_add.empty()) return;
|
||||
if (!m_staging_clusterset->m_to_remove.empty()) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue