We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ChildrenCapacity
16
1 parent a989f7b commit acc6f90Copy full SHA for acc6f90
internal/trie/node/decode.go
@@ -82,7 +82,7 @@ func decodeBranch(reader io.Reader, variant byte, partialKeyLength uint16) (
82
}
83
84
85
- for i := 0; i < 16; i++ {
+ for i := 0; i < ChildrenCapacity; i++ {
86
if (childrenBitmap[i/8]>>(i%8))&1 != 1 {
87
continue
88
0 commit comments