mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-30 05:16:19 +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,10 +324,10 @@ 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