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 f5f0286 commit 5970089Copy full SHA for 5970089
lnwire/message.go
@@ -193,6 +193,11 @@ type Message interface {
193
// LinkUpdater is an interface implemented by most messages in BOLT 2 that are
194
// allowed to update the channel state.
195
type LinkUpdater interface {
196
+ // All LinkUpdater messages are messages and so we embed the interface
197
+ // so that we can treat it as a message if all we know about it is that
198
+ // it is a LinkUpdater message.
199
+ Message
200
+
201
// TargetChanID returns the channel id of the link for which this
202
// message is intended.
203
TargetChanID() ChannelID
0 commit comments