mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user