Skip to content

Commit

Permalink
wip restore lookupWithCache and NodeOwned types
Browse files Browse the repository at this point in the history
  • Loading branch information
timwu20 committed Oct 4, 2024
1 parent 664b8ce commit cb769bc
Show file tree
Hide file tree
Showing 4 changed files with 408 additions and 410 deletions.
2 changes: 1 addition & 1 deletion pkg/trie/triedb/codec/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ type (
// and an optional immediate node data.
NodeOwnedBranch[H any] struct {
PartialKey nibbles.Nibbles
Children [ChildrenCapacity]NodeHandleOwned // can be nil to represent None()
Children [ChildrenCapacity]NodeHandleOwned // can be nil to represent no child
Value ValueOwned
}
// Node that represents a value.
Expand Down
Loading

0 comments on commit cb769bc

Please sign in to comment.