Skip to content

Commit d5fc2d2

Browse files
committed
f nit
1 parent 1edbf87 commit d5fc2d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-invoice/src/payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ where
331331
let retry_res = self.payer.retry_payment(&route.unwrap(), payment_id);
332332
match retry_res {
333333
Ok(()) => Ok(()),
334-
Err(PaymentSendFailure::ParameterError(_))|
334+
Err(PaymentSendFailure::ParameterError(_)) |
335335
Err(PaymentSendFailure::PathParameterError(_)) => {
336336
log_trace!(self.logger, "Failed to retry for payment {} due to bogus route/payment data, not retrying.", log_bytes!(payment_hash.0));
337337
if !other_paths_pending { self.payment_cache.lock().unwrap().remove(&payment_hash); }

0 commit comments

Comments
 (0)