mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-10 07:18:45 +02:00
wtclient: fix handleStaleTower comment
This commit is contained in:
@@ -1739,10 +1739,10 @@ func (c *TowerClient) RemoveTower(pubKey *btcec.PublicKey,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleNewTower handles a request for an existing tower to be removed. If none
|
// handleStaleTower handles a request for an existing tower to be removed. If
|
||||||
// of the tower's sessions have pending updates, then they will become inactive
|
// none of the tower's sessions have pending updates, then they will become
|
||||||
// and removed as candidates. If the active session queue corresponds to any of
|
// inactive and removed as candidates. If the active session queue corresponds
|
||||||
// these sessions, a new one will be negotiated.
|
// to any of these sessions, a new one will be negotiated.
|
||||||
func (c *TowerClient) handleStaleTower(msg *staleTowerMsg) error {
|
func (c *TowerClient) handleStaleTower(msg *staleTowerMsg) error {
|
||||||
// We'll load the tower before potentially removing it in order to
|
// We'll load the tower before potentially removing it in order to
|
||||||
// retrieve its ID within the database.
|
// retrieve its ID within the database.
|
||||||
|
Reference in New Issue
Block a user