Skip to content

Commit 5e41388

Browse files
Fix cfg(test) indentation
1 parent 5b9a950 commit 5e41388

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
@@ -720,9 +720,9 @@ impl OutboundPayments {
720720
log_trace!(logger, "Failing outbound payment HTLC with payment_hash {}", log_bytes!(payment_hash.0));
721721

722722
let path_failure = {
723-
#[cfg(test)]
723+
#[cfg(test)]
724724
let (network_update, short_channel_id, payment_retryable, onion_error_code, onion_error_data) = onion_error.decode_onion_failure(secp_ctx, logger, &source);
725-
#[cfg(not(test))]
725+
#[cfg(not(test))]
726726
let (network_update, short_channel_id, payment_retryable, _, _) = onion_error.decode_onion_failure(secp_ctx, logger, &source);
727727

728728
if payment_is_probe(payment_hash, &payment_id, probing_cookie_secret) {

0 commit comments

Comments
 (0)