Update trie/stacktrie.go

Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
rjl493456442 2023-10-18 15:42:28 +08:00 committed by Gary Rong
parent 3be59e32cd
commit c884b4dfcc

View file

@ -73,8 +73,8 @@ type StackTrie struct {
root *stNode
h *hasher
first []byte // The key of first inserted entry, tracked as left boundary.
last []byte // The key of last inserted entry, tracked as right boundary.
first []byte // The (hex-encoded without terminator) key of first inserted entry, tracked as left boundary.
last []byte // The (hex-encoded without terminator) key of last inserted entry, tracked as right boundary.
}
// NewStackTrie allocates and initializes an empty trie.