We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0176fca commit b172227Copy full SHA for b172227
lnwire/stfu.go
@@ -67,3 +67,15 @@ func (s *Stfu) Decode(r io.Reader, _ uint32) error {
67
func (s *Stfu) MsgType() MessageType {
68
return MsgStfu
69
}
70
+
71
+// A compile time check to ensure Stfu implements the
72
+// lnwire.LinkUpdater interface.
73
+var _ LinkUpdater = (*Stfu)(nil)
74
75
+// TargetChanID returns the channel id of the link for which this message is
76
+// intended.
77
+//
78
+// NOTE: Part of peer.LinkUpdater interface.
79
+func (s *Stfu) TargetChanID() ChannelID {
80
+ return s.ChanID
81
+}
0 commit comments