aboutsummaryrefslogtreecommitdiffstats
path: root/contracts
diff options
context:
space:
mode:
authorZsolt Felfoldi <zsfelfoldi@gmail.com>2017-12-18 05:40:39 +0800
committerZsolt Felfoldi <zsfelfoldi@gmail.com>2017-12-18 23:26:17 +0800
commit48648bc2f8396984a775ead38ead77155c291f67 (patch)
tree1ef4617efd523a8400840ffabad698267ebf69c5 /contracts
parentc6069a627c42c21fc02d0770d39db9a9be45b180 (diff)
downloadgo-tangerine-48648bc2f8396984a775ead38ead77155c291f67.tar.gz
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 'contracts')
-rw-r--r--contracts/release/release.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contracts/release/release.go b/contracts/release/release.go
index 28a35381d..4442ce3e0 100644
--- a/contracts/release/release.go
+++ b/contracts/release/release.go
@@ -137,7 +137,7 @@ func (r *ReleaseService) checkVersion() {
if err != nil {
if err == bind.ErrNoCode {
log.Debug("Release oracle not found", "contract", r.config.Oracle)
- } else {
+ } else if err != les.ErrNoPeers {
log.Error("Failed to retrieve current release", "err", err)
}
return