From b0c72ca94ebd4a3ed7142034651314d8e703ec7e Mon Sep 17 00:00:00 2001 From: Simon Dudley Date: Tue, 7 Nov 2023 13:28:52 +1000 Subject: [PATCH] Remove TODO Separate list is for logging reasons Signed-off-by: Simon Dudley --- .../hyperledger/besu/ethereum/bonsai/trielog/TrieLogPruner.java | 1 - 1 file changed, 1 deletion(-) diff --git a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/bonsai/trielog/TrieLogPruner.java b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/bonsai/trielog/TrieLogPruner.java index 11f43eed6f0..b6fabfb099a 100644 --- a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/bonsai/trielog/TrieLogPruner.java +++ b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/bonsai/trielog/TrieLogPruner.java @@ -144,7 +144,6 @@ void pruneFromCache() { blockNumbersToRemove.add(e.getKey()); }); - // TODO SLD could just remove each key inline? blockNumbersToRemove.forEach(trieLogBlocksAndForksByDescendingBlockNumber::removeAll); LOG.atTrace() .setMessage("pruned {} trie logs for blocks {}")