multi: fix debug log
This commit is contained in:
2 files changed
+10
-7
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user