multi: fix debug log

This commit is contained in:
ziggie
2025-02-19 22:03:48 +01:00
parent 319a0ee470
commit 9382fcb801
2 changed files with 10 additions and 7 deletions

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)
}