Merge pull request #5487 from C-Otto/fix-5367

htlcswitch: log amount for failures
This commit is contained in:
Olaoluwa Osuntokun 2021-07-09 14:35:31 -07:00 committed by GitHub
commit ccd7421488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2540,6 +2540,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