fix iterator serialization

This commit is contained in:
Guillaume Ballet 2026-04-22 22:35:53 +02:00
parent 1a41b73fa7
commit f411e3755e
No known key found for this signature in database

View file

@ -205,7 +205,7 @@ func (it *binaryNodeIterator) Path() []byte {
}
func (it *binaryNodeIterator) NodeBlob() []byte {
return it.store.serializeNode(it.current)
return it.store.serializeNode(it.current, it.trie.groupDepth)
}
// Leaf reports whether the iterator is currently positioned at a leaf value.