diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-19 18:20:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-19 18:20:12 +0800 |
commit | 9b509f64781a5bac37ed5b125ba4214cd7250b59 (patch) | |
tree | 3b6d562ef46b036e0a65362b6410459e1f69da90 /eth | |
parent | 89c69a1d257daf973690a7fb96d2aa2b9d0849ec (diff) | |
download | go-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar go-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.gz go-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.bz2 go-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.lz go-tangerine-9b509f64781a5bac37ed5b125ba4214cd7250b59.tar.xz 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.
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 2 |
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) } } |