We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f67795f commit 93a8fb6Copy full SHA for 93a8fb6
lightning/src/ln/channelmanager.rs
@@ -4804,8 +4804,8 @@ where
4804
4805
if let Some(RecipientOnionFields { ref custom_tlvs, .. }) = payment.onion_fields {
4806
if !custom_tlvs_known && custom_tlvs.iter().any(|(typ, _)| typ % 2 == 0) {
4807
- log_info!(self.logger, "Cannot accept payment with unknown even TLVs. Rejecting payment with payment hash {}",
4808
- log_bytes!(payment_hash.0));
+ log_info!(self.logger, "Rejecting payment with payment hash {} as we cannot accept payment with unknown even TLVs: {}",
+ log_bytes!(payment_hash.0), log_iter!(custom_tlvs.iter().map(|(typ, _)| typ).filter(|typ| *typ % 2 == 0)));
4809
claimable_payments.pending_claiming_payments.remove(&payment_hash);
4810
mem::drop(claimable_payments);
4811
for htlc in payment.htlcs {
0 commit comments