mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-10 17:01:35 +00:00
fix iterator serialization
This commit is contained in:
parent
1a41b73fa7
commit
f411e3755e
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ func (it *binaryNodeIterator) Path() []byte {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (it *binaryNodeIterator) NodeBlob() []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.
|
// Leaf reports whether the iterator is currently positioned at a leaf value.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue