mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 23:12:32 +02:00
wtclient: load all active towers into memory
Load an active tower into memory regardless of whether or not it has any sessions.
This commit is contained in:
@@ -324,9 +324,9 @@ func getTowerAndSessionCandidates(db DB, keyRing ECDHKeyRing,
|
|||||||
|
|
||||||
// Add the session to the set of candidate sessions.
|
// Add the session to the set of candidate sessions.
|
||||||
candidateSessions[s.ID] = cs
|
candidateSessions[s.ID] = cs
|
||||||
|
|
||||||
perActiveTower(tower)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
perActiveTower(tower)
|
||||||
}
|
}
|
||||||
|
|
||||||
return candidateSessions, nil
|
return candidateSessions, nil
|
||||||
|
Reference in New Issue
Block a user