wtdb: rename CSessionInactive to CSessionTerminal

Since we will now change this to mean that the session should not ever
be activated again.
This commit is contained in:
Elle Mouton
2023-11-28 18:28:52 +02:00
parent 26432359ad
commit 5cb8c8df7e
3 changed files with 7 additions and 7 deletions

View File

@@ -578,7 +578,7 @@ func (c *ClientDB) RemoveTower(pubKey *btcec.PublicKey, addr net.Addr) error {
return ErrTowerUnackedUpdates
}
err := markSessionStatus(
sessions, session, CSessionInactive,
sessions, session, CSessionTerminal,
)
if err != nil {
return err