forked from cerc-io/plugeth
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:
parent
89c69a1d25
commit
9b509f6478
@ -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…
Reference in New Issue
Block a user