Skip to content

Commit 3da5224

Browse files
committed
lnwire: implement LinkUpdater for DynPropose
1 parent 5e27228 commit 3da5224

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lnwire/dyn_propose.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,10 @@ func (dp *DynPropose) Decode(r io.Reader, _ uint32) error {
307307
func (dp *DynPropose) MsgType() MessageType {
308308
return MsgDynPropose
309309
}
310+
311+
// TargetChanID returns the ChannelID that this message refers to.
312+
//
313+
// NOTE: Part of the lnwire.LinkUpdater interface.
314+
func (dp *DynPropose) TargetChanID() ChannelID {
315+
return dp.ChanID
316+
}

0 commit comments

Comments
 (0)