multi: surface may add outgoing hltc

This commit is contained in:
carla committed 2021-06-22 13:56:08 +02:00
1 parent e3a4d6e989
commit 5d717cb039
4 files changed
+38

No files matched your search

+6
View File
@@ -2156,6 +2156,12 @@ func (l *channelLink) Bandwidth() lnwire.MilliSatoshi {
return l.channel.AvailableBalance()
}
// MayAddOutgoingHtlc indicates whether we may add any more outgoing htlcs to
// this channel.
func (l *channelLink) MayAddOutgoingHtlc() error {
return l.channel.MayAddOutgoingHtlc()
}
// AttachMailBox updates the current mailbox used by this link, and hooks up
// the mailbox's message and packet outboxes to the link's upstream and
// downstream chans, respectively.