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 committed 2024-02-20 14:44:11 +02:00
1 parent 26432359ad
commit 5cb8c8df7e
3 files changed
+7 -7

No files matched your search

+1 -1
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