diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2023-10-03 13:36:05 +0200 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2023-10-20 14:53:44 +0200 |
commit | ec84f999f1408b7f1ff4498f78c33b34c30e934c (patch) | |
tree | a521b7e205ab83f1295329e2560610d78a04b7b3 /src/validation.cpp | |
parent | e7b0004b375be25096fbaf3d5f6980095a90fc0c (diff) |
log: Don't log cache rebalancing in absense of a snapshot chainstate
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 30b3dde74f..cbc303e110 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -5701,8 +5701,8 @@ void ChainstateManager::MaybeRebalanceCaches() assert(ibd_usable || snapshot_usable); if (ibd_usable && !snapshot_usable) { - LogPrintf("[snapshot] allocating all cache to the IBD chainstate\n"); - // Allocate everything to the IBD chainstate. + // Allocate everything to the IBD chainstate. This will always happen + // when we are not using a snapshot. m_ibd_chainstate->ResizeCoinsCaches(m_total_coinstip_cache, m_total_coinsdb_cache); } else if (snapshot_usable && !ibd_usable) { |