Skip to content

Commit

Permalink
chore: fixup
Browse files Browse the repository at this point in the history
Signed-off-by: moul <[email protected]>
  • Loading branch information
moul committed Feb 7, 2025
1 parent 27d5994 commit 913d651
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/gno.land/p/moul/cow/node.gno
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ func (node *Node) Set(key string, value interface{}) (newSelf *Node, updated boo

// Always create a new node for leaf nodes
if node.height == 0 {
if key == node.key {
// Create new node even when updating
return NewNode(key, value), true
}
return node.setLeaf(key, value)
}

Expand Down

0 comments on commit 913d651

Please sign in to comment.