From 913d6513d80bdd91233be37e136ffe6037714d42 Mon Sep 17 00:00:00 2001 From: moul <94029+moul@users.noreply.github.com> Date: Fri, 7 Feb 2025 09:54:27 +0100 Subject: [PATCH] chore: fixup Signed-off-by: moul <94029+moul@users.noreply.github.com> --- examples/gno.land/p/moul/cow/node.gno | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/gno.land/p/moul/cow/node.gno b/examples/gno.land/p/moul/cow/node.gno index 6f546856b90..0c30871d7c4 100644 --- a/examples/gno.land/p/moul/cow/node.gno +++ b/examples/gno.land/p/moul/cow/node.gno @@ -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) }