Bugfix - Continue processing other trie nodes on encountering a leaf
This commit is contained in:
parent
b5bb47e77d
commit
d40bbc46eb
@ -1045,7 +1045,7 @@ func (b *Backend) getSliceTrie(headPath []byte, t state.Trie, response *GetSlice
|
|||||||
|
|
||||||
// Skip value nodes
|
// Skip value nodes
|
||||||
if it.Leaf() || bytes.Equal(nullHashBytes, it.Hash().Bytes()) {
|
if it.Leaf() || bytes.Equal(nullHashBytes, it.Hash().Bytes()) {
|
||||||
return nil
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
node, nodeElements, err := sdtrie.ResolveNode(it, b.StateDatabase.TrieDB())
|
node, nodeElements, err := sdtrie.ResolveNode(it, b.StateDatabase.TrieDB())
|
||||||
|
Loading…
Reference in New Issue
Block a user