From 449d6b5500f7b98130901fc5dc051e03d0f89093 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Wed, 24 May 2023 16:02:58 +0200 Subject: [PATCH] wtclient: fix handleStaleTower comment --- watchtower/wtclient/client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/watchtower/wtclient/client.go b/watchtower/wtclient/client.go index 98e930e4f..b22f1aa64 100644 --- a/watchtower/wtclient/client.go +++ b/watchtower/wtclient/client.go @@ -1739,10 +1739,10 @@ func (c *TowerClient) RemoveTower(pubKey *btcec.PublicKey, } } -// handleNewTower handles a request for an existing tower to be removed. If none -// of the tower's sessions have pending updates, then they will become inactive -// and removed as candidates. If the active session queue corresponds to any of -// these sessions, a new one will be negotiated. +// handleStaleTower handles a request for an existing tower to be removed. If +// none of the tower's sessions have pending updates, then they will become +// inactive and removed as candidates. If the active session queue corresponds +// to any of these sessions, a new one will be negotiated. func (c *TowerClient) handleStaleTower(msg *staleTowerMsg) error { // We'll load the tower before potentially removing it in order to // retrieve its ID within the database.