Skip to content

Commit

Permalink
fix: nibble overflow maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Feb 26, 2024
1 parent d2fee58 commit 86c08e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/trie/src/walker.rs
Expand Up @@ -184,7 +184,7 @@ impl<C: TrieCursor> TrieWalker<C> {
}

// Find the next sibling with state.
while subnode.nibble() < 16 {
while subnode.nibble() < 15 {
if subnode.state_flag() {
return Ok(())
}
Expand Down

0 comments on commit 86c08e0

Please sign in to comment.