mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
watchtower: always populate Tower in ClientSession
In this commit, we make sure to always populate the Tower member of a ClientSession. This is done for consistency.
This commit is contained in:
@@ -220,6 +220,7 @@ func (m *ClientDB) listClientSessions(
|
||||
if tower != nil && *tower != session.TowerID {
|
||||
continue
|
||||
}
|
||||
session.Tower = m.towers[session.TowerID]
|
||||
sessions[session.ID] = &session
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user