Skip to content

Commit

Permalink
Update pkg/trie/triedb/nibbles/nibbleslice.go
Browse files Browse the repository at this point in the history
Co-authored-by: Haiko Schol <[email protected]>
  • Loading branch information
timwu20 and haikoschol authored Oct 11, 2024
1 parent 4d95a0a commit 83594a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trie/triedb/nibbles/nibbleslice.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (n *NibbleSlice) Push(nibble uint8) {
n.len++
}

// Try to pop a nibble off the NibbleVec. Fails if len == 0.
// Try to pop a nibble off the NibbleSlice. Fails if len == 0.
func (n *NibbleSlice) Pop() *uint8 {
if n.IsEmpty() {
return nil
Expand Down

0 comments on commit 83594a7

Please sign in to comment.