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 Dec 10, 2024
1 parent fd561cf commit 8bddbfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/gno.land/p/demo/avl/index/index.gno
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ func (it *IndexedTree) removeFromIndexes(primaryKey string, value interface{}) {
}
}

func (it *IndexedTree) GetIndexTree(name string) avl.TreeInterface {
func (it *IndexedTree) GetIndexTree(name string) avl.ITree {
if idx, exists := it.indexes[name]; exists {
return idx.tree
}
return nil
}

func (it *IndexedTree) GetPrimary() avl.TreeInterface {
func (it *IndexedTree) GetPrimary() avl.ITree {
return it.primary
}

Expand Down
2 changes: 1 addition & 1 deletion examples/gno.land/p/demo/avl/tree.gno
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@ func (tree *Tree) ReverseIterateByOffset(offset int, count int, cb IterCbFn) boo
)
}

// Verify that Tree implements TreeInterface
// Verify that Tree implements ITree
var _ ITree = (*Tree)(nil)

0 comments on commit 8bddbfe

Please sign in to comment.