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.
pull/268/head
obscuren 10 years ago
parent 89c69a1d25
commit 9b509f6478
  1. 2
      eth/backend.go

@ -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)
} }
} }

Loading…
Cancel
Save