chore(trie): remove todo comment (#12875)

This commit is contained in:
Roman Krasiuk
2024-11-26 13:57:58 +01:00
committed by GitHub
parent 2b4fa3bbf1
commit c19b8e1a2b

View File

@ -173,7 +173,6 @@ impl RevealedSparseTrie {
/// Reveal the trie node only if it was not known already.
pub fn reveal_node(&mut self, path: Nibbles, node: TrieNode) -> SparseTrieResult<()> {
// TODO: revise all inserts to not overwrite existing entries
match node {
TrieNode::EmptyRoot => {
debug_assert!(path.is_empty());