File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4804,8 +4804,8 @@ where
4804
4804
4805
4805
if let Some(RecipientOnionFields { ref custom_tlvs, .. }) = payment.onion_fields {
4806
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));
4807
+ log_info!(self.logger, "Rejecting payment with payment hash {} as we cannot accept payment with unknown even TLVs: {}",
4808
+ log_bytes!(payment_hash.0), log_iter!(custom_tlvs.iter().map(|(typ, _)| typ).filter(|typ| *typ % 2 == 0)) );
4809
4809
claimable_payments.pending_claiming_payments.remove(&payment_hash);
4810
4810
mem::drop(claimable_payments);
4811
4811
for htlc in payment.htlcs {
You can’t perform that action at this time.
0 commit comments