Bugfix - Continue processing other trie nodes on encountering a leaf

This commit is contained in:
Prathamesh Musale 2022-12-16 19:50:01 +05:30
parent b5bb47e77d
commit d40bbc46eb

View File

@ -1045,7 +1045,7 @@ func (b *Backend) getSliceTrie(headPath []byte, t state.Trie, response *GetSlice
// Skip value nodes
if it.Leaf() || bytes.Equal(nullHashBytes, it.Hash().Bytes()) {
return nil
continue
}
node, nodeElements, err := sdtrie.ResolveNode(it, b.StateDatabase.TrieDB())