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.
This commit is contained in:
obscuren 2015-01-19 11:20:12 +01:00
parent 89c69a1d25
commit 9b509f6478

View File

@ -245,7 +245,7 @@ func (s *Ethereum) Start(seed bool) error {
if seed { if seed {
logger.Infof("Connect to seed node %v", seedNodeAddress) logger.Infof("Connect to seed node %v", seedNodeAddress)
if err := s.SuggestPeer(seedNodeAddress); err != nil { if err := s.SuggestPeer(seedNodeAddress); err != nil {
return err logger.Infoln(err)
} }
} }