htlcswitch+peer: remove ShutdownIfChannelClean

This commit is contained in:
Keagan McClelland committed 2024-01-22 16:08:59 -08:00
1 parent 64fda6ca65
commit ec55831229
5 files changed
-150

No files matched your search

-5
View File
@@ -134,11 +134,6 @@ type ChannelUpdateHandler interface {
// parameter.
MayAddOutgoingHtlc(lnwire.MilliSatoshi) error
// ShutdownIfChannelClean shuts the link down if the channel state is
// clean. This can be used with dynamic commitment negotiation or coop
// close negotiation which require a clean channel state.
ShutdownIfChannelClean() error
// EnableAdds sets the ChannelUpdateHandler state to allow
// UpdateAddHtlc's in the specified direction. It returns an error if
// the state already allowed those adds.