htlcswitch: log amount for failures

fixes #5367
This commit is contained in:
Carsten Otto 2021-07-08 20:32:42 +02:00
parent bb5c3f3b51
commit 0396220b71

@ -2539,6 +2539,8 @@ func (l *channelLink) processRemoteSettleFails(fwdPkg *channeldb.FwdPkg,
}, },
} }
l.log.Debugf("Failed to send %s", pd.Amount)
// If the failure message lacks an HMAC (but includes // If the failure message lacks an HMAC (but includes
// the 4 bytes for encoding the message and padding // the 4 bytes for encoding the message and padding
// lengths, then this means that we received it as an // lengths, then this means that we received it as an