Skip to content

Commit 31d2b8e

Browse files
Merge branch 'kishan/task/trie-test' of github.com:ChainSafe/gossamer into kishan/task/trie-test
2 parents d6cfcc2 + 9d4f195 commit 31d2b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dot/state/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func (s *StorageState) loadTrie(root *common.Hash) (*trie.Trie, error) {
167167

168168
tr, err := s.LoadFromDB(*root)
169169
if err != nil {
170-
return nil, fmt.Errorf("%s, %w", err, errTrieDoesNotExist(*root))
170+
return nil, fmt.Errorf("trie does not exist at root %s: %w", *root, err)
171171
}
172172

173173
return tr, nil

0 commit comments

Comments
 (0)