Skip to content

Commit ec84f99

Browse files
committed
log: Don't log cache rebalancing in absense of a snapshot chainstate
1 parent e7b0004 commit ec84f99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/validation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5701,8 +5701,8 @@ void ChainstateManager::MaybeRebalanceCaches()
57015701
assert(ibd_usable || snapshot_usable);
57025702

57035703
if (ibd_usable && !snapshot_usable) {
5704-
LogPrintf("[snapshot] allocating all cache to the IBD chainstate\n");
5705-
// Allocate everything to the IBD chainstate.
5704+
// Allocate everything to the IBD chainstate. This will always happen
5705+
// when we are not using a snapshot.
57065706
m_ibd_chainstate->ResizeCoinsCaches(m_total_coinstip_cache, m_total_coinsdb_cache);
57075707
}
57085708
else if (snapshot_usable && !ibd_usable) {

0 commit comments

Comments
 (0)