diff options
author | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2017-12-18 05:40:39 +0800 |
---|---|---|
committer | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2017-12-18 23:26:17 +0800 |
commit | 48648bc2f8396984a775ead38ead77155c291f67 (patch) | |
tree | 1ef4617efd523a8400840ffabad698267ebf69c5 /light | |
parent | c6069a627c42c21fc02d0770d39db9a9be45b180 (diff) | |
download | go-tangerine-48648bc2f8396984a775ead38ead77155c291f67.tar go-tangerine-48648bc2f8396984a775ead38ead77155c291f67.tar.gz go-tangerine-48648bc2f8396984a775ead38ead77155c291f67.tar.bz2 go-tangerine-48648bc2f8396984a775ead38ead77155c291f67.tar.lz go-tangerine-48648bc2f8396984a775ead38ead77155c291f67.tar.xz go-tangerine-48648bc2f8396984a775ead38ead77155c291f67.tar.zst go-tangerine-48648bc2f8396984a775ead38ead77155c291f67.zip |
contracts/release: do not print error log if les backend has no peers
Diffstat (limited to 'light')
-rw-r--r-- | light/trie.go | 2 |
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 } } } |