multi: fix debug log

This commit is contained in:
ziggie committed 2025-02-20 10:44:19 +01:00
1 parent 319a0ee470
commit 9382fcb801
2 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -3450,7 +3450,7 @@ func (l *channelLink) canSendHtlc(policy models.ForwardingPolicy,
// Check to see if there is enough balance in this channel.
if amt > availableBandwidth {
l.log.Warnf("insufficient bandwidth to route htlc: %v is "+
"larger than %v", amt, l.Bandwidth())
"larger than %v", amt, availableBandwidth)
cb := func(upd *lnwire.ChannelUpdate1) lnwire.FailureMessage {
return lnwire.NewTemporaryChannelFailure(upd)
}