aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
Diffstat (limited to 'light')
-rw-r--r--light/trie.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/light/trie.go b/light/trie.go
index 7502b6e5d..7a9c86b98 100644
--- a/light/trie.go
+++ b/light/trie.go
@@ -151,7 +151,7 @@ func (t *odrTrie) do(key []byte, fn func() error) error {
}
r := &TrieRequest{Id: t.id, Key: key}
if err := t.db.backend.Retrieve(t.db.ctx, r); err != nil {
- return fmt.Errorf("can't fetch trie key %x: %v", key, err)
+ return err
}
}
}