aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-19 18:20:12 +0800
committerobscuren <geffobscura@gmail.com>2015-01-19 18:20:12 +0800
commit9b509f64781a5bac37ed5b125ba4214cd7250b59 (patch)
tree3b6d562ef46b036e0a65362b6410459e1f69da90
parent89c69a1d257daf973690a7fb96d2aa2b9d0849ec (diff)
downloadgo-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.gz
go-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.zst
go-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.zip
Print error instead of returning for seed node err
Returning an error would indicate a complete failure initialising the Ethereum backend. Instead we should print the message and continue.
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index ad0486309..c3c7d1287 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -245,7 +245,7 @@ func (s *Ethereum) Start(seed bool) error {
if seed {
logger.Infof("Connect to seed node %v", seedNodeAddress)
if err := s.SuggestPeer(seedNodeAddress); err != nil {
- return err
+ logger.Infoln(err)
}
}