mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-11 14:48:14 +01:00
lnd: don't abort the startup on subsystem errors
We want to make sure the node can start if non-fatal error is returned.
This commit is contained in:
@@ -2563,12 +2563,10 @@ func (s *server) Start() error {
|
|||||||
startErr = err
|
startErr = err
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := s.establishPersistentConnections(); err != nil {
|
if err := s.establishPersistentConnections(); err != nil {
|
||||||
srvrLog.Errorf("Failed to establish persistent "+
|
srvrLog.Errorf("Failed to establish persistent "+
|
||||||
"connections: %v", err)
|
"connections: %v", err)
|
||||||
|
|
||||||
startErr = err
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// setSeedList is a helper function that turns multiple DNS seed
|
// setSeedList is a helper function that turns multiple DNS seed
|
||||||
|
|||||||
Reference in New Issue
Block a user