mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
validation, doc: remove TODO comment
It would make for sense for the TODO to be done in PR 17487 (or noted in the review feedback for a follow-up), no need to continue maintaining the TODO in the codebase.
This commit is contained in:
parent
8e37fa8393
commit
50209a42ad
@ -4848,7 +4848,6 @@ static void FlushSnapshotToDisk(CCoinsViewCache& coins_cache, bool snapshot_load
|
||||
coins_cache.DynamicMemoryUsage() / (1000 * 1000)),
|
||||
BCLog::LogFlags::ALL);
|
||||
|
||||
// TODO: if #17487 is merged, add erase=false here if snapshot is loaded, for better performance.
|
||||
coins_cache.Flush();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user