htlcswitch: add link operation for initiating quiescence

This commit is contained in:
Keagan McClelland committed 2024-11-26 13:51:57 -07:00
1 parent a085b59814
commit 70e3804121
4 files changed
+45

No files matched your search

+8
View File
@@ -950,6 +950,14 @@ func (f *mockChannelLink) OnFlushedOnce(func()) {
func (f *mockChannelLink) OnCommitOnce(LinkDirection, func()) {
// TODO(proofofkeags): Implement
}
func (f *mockChannelLink) InitStfu() <-chan fn.Result[lntypes.ChannelParty] {
// TODO(proofofkeags): Implement
c := make(chan fn.Result[lntypes.ChannelParty], 1)
c <- fn.Errf[lntypes.ChannelParty]("InitStfu not implemented")
return c
}
func (f *mockChannelLink) FundingCustomBlob() fn.Option[tlv.Blob] {
return fn.None[tlv.Blob]()