mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01: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:
parent
5d16491c13
commit
a9648cbdd1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue