mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
watchtower/wtserver/interface: add DeleteSession + mock impl
This commit is contained in:
@@ -63,4 +63,8 @@ type DB interface {
|
||||
// validates the update against the current SessionInfo stored under the
|
||||
// update's session id..
|
||||
InsertStateUpdate(*wtdb.SessionStateUpdate) (uint16, error)
|
||||
|
||||
// DeleteSession removes all data associated with a particular session
|
||||
// id from the tower's database.
|
||||
DeleteSession(wtdb.SessionID) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user