Skip to content

Commit b133f98

Browse files
committed
f correct log
1 parent 644e2bc commit b133f98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/outbound_payment.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ impl OutboundPayments {
525525
} else { return res }
526526
core::mem::drop(outbounds);
527527
let retry_res = self.pay_internal(payment_id, None, route_params, router, first_hops, inflight_htlcs, entropy_source, node_signer, best_block_height, logger, send_payment_along_path);
528-
log_info!(logger, "Errored retrying payment: {:?}", retry_res);
528+
log_info!(logger, "Result retrying payment id {}: {:?}", log_bytes!(payment_id.0), retry_res);
529529
retry_res
530530
},
531531
Err(PaymentSendFailure::PartialFailure { failed_paths_retry: Some(retry), results, .. }) => {
@@ -542,7 +542,7 @@ impl OutboundPayments {
542542
// misbehave and claim the funds, at which point we have to consider the payment sent, so
543543
// return `Ok()` here, ignoring any retry errors.
544544
let retry_res = self.pay_internal(payment_id, None, retry, router, first_hops, inflight_htlcs, entropy_source, node_signer, best_block_height, logger, send_payment_along_path);
545-
log_info!(logger, "Errored retrying payment: {:?}", retry_res);
545+
log_info!(logger, "Result retrying payment id {}: {:?}", log_bytes!(payment_id.0), retry_res);
546546
Ok(())
547547
},
548548
Err(PaymentSendFailure::PartialFailure { failed_paths_retry: None, .. }) => {

0 commit comments

Comments
 (0)