diff --git a/lib/trie/trie.go b/lib/trie/trie.go index e9a57e57da..7d76d4a974 100644 --- a/lib/trie/trie.go +++ b/lib/trie/trie.go @@ -1042,7 +1042,6 @@ func (t *Trie) deleteBranch(branch *node.Branch, key []byte) ( // of one node in callers. // If the branch has a value and no child, it will be changed into a leaf. func handleDeletion(branch *node.Branch, key []byte) (newNode Node, branchChildMerged bool) { - // TODO try to remove key argument just use branch.Key instead? childrenCount := 0 firstChildIndex := -1 for i, child := range branch.Children {