From 98ae8721af1297665fe6599109fce47fe30186f4 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 21 Feb 2022 18:47:04 +0000 Subject: [PATCH] Remove old irrelevant `TODO` --- lib/trie/trie.go | 1 - 1 file changed, 1 deletion(-) 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 {