Skip to content

Commit

Permalink
Update extension_node.go
Browse files Browse the repository at this point in the history
Co-authored-by: h5law <[email protected]>
Signed-off-by: Daniel Olshansky <[email protected]>
  • Loading branch information
Olshansk and h5law authored Jun 5, 2024
1 parent cf7b7d5 commit 583f57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (extNode *extensionNode) split(path []byte) (trieNode, *trieNode, int) {
return head, &b, pathIdx
}

// expand returns the inner node that represents the end of the singly
// expand returns the inner node that represents the start of the singly
// linked list that this extension node represents
func (extNode *extensionNode) expand() trieNode {
last := extNode.child
Expand Down

0 comments on commit 583f57d

Please sign in to comment.