Skip to content

Commit

Permalink
Remove old irrelevant TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Feb 23, 2022
1 parent a655205 commit 98ae872
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/trie/trie.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 98ae872

Please sign in to comment.