multi: carve out LinkNodeDB from channeldb.DB for cleaner separation
This commit is contained in:
1 parent
292b8e1ce6
commit
60cccf8409
6 files changed
+115
-65
No files matched your search
@@ -2527,7 +2527,7 @@ func (s *server) establishPersistentConnections() error {
|
||||
// Iterate through the list of LinkNodes to find addresses we should
|
||||
// attempt to connect to based on our set of previous connections. Set
|
||||
// the reconnection port to the default peer port.
|
||||
linkNodes, err := s.chanStateDB.FetchAllLinkNodes()
|
||||
linkNodes, err := s.chanStateDB.LinkNodeDB().FetchAllLinkNodes()
|
||||
if err != nil && err != channeldb.ErrLinkNodesNotFound {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user