Skip to content

Commit

Permalink
tree: fix Delete(...) api
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Jan 17, 2024
1 parent 1d937cb commit a0280d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ func (n *InternalNode) Delete(key []byte, resolver NodeResolverFn) (bool, error)
// as well.
for _, c := range n.children {
if _, ok := c.(Empty); !ok {
break
return false, nil
}
}

Expand Down

0 comments on commit a0280d2

Please sign in to comment.