[cleanup] replace TxOrphanage::Size() with CountUniqueOrphans

This commit is contained in:
glozow
2025-06-05 14:13:28 -04:00
parent ed24e01696
commit cc50f2f0df
4 changed files with 15 additions and 19 deletions

View File

@@ -572,7 +572,7 @@ void TxDownloadManagerImpl::CheckIsEmpty(NodeId nodeid)
void TxDownloadManagerImpl::CheckIsEmpty()
{
assert(m_orphanage->TotalOrphanUsage() == 0);
assert(m_orphanage->Size() == 0);
assert(m_orphanage->CountUniqueOrphans() == 0);
assert(m_txrequest.Size() == 0);
assert(m_num_wtxid_peers == 0);
}