mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
routing: add log message.
This commit is contained in:
@@ -586,6 +586,10 @@ func findPath(g *graphParams, r *RestrictParams, cfg *PathFindingConfig,
|
|||||||
// If the total outgoing balance isn't sufficient, it will be
|
// If the total outgoing balance isn't sufficient, it will be
|
||||||
// impossible to complete the payment.
|
// impossible to complete the payment.
|
||||||
if total < amt {
|
if total < amt {
|
||||||
|
log.Warnf("Not enough outbound balance to send "+
|
||||||
|
"htlc of amount: %v, only have local "+
|
||||||
|
"balance: %v", amt, total)
|
||||||
|
|
||||||
return nil, 0, errInsufficientBalance
|
return nil, 0, errInsufficientBalance
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user