From: Valentine Wallace Date: Tue, 20 Dec 2022 23:19:22 +0000 (-0500) Subject: Fix cfg(test) indentation X-Git-Tag: v0.0.114-beta~77^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=60492d769a31e72fe9c6bc40701b132f94633c60;p=rust-lightning Fix cfg(test) indentation --- diff --git a/lightning/src/ln/outbound_payment.rs b/lightning/src/ln/outbound_payment.rs index 08aeae5c5..6da14388a 100644 --- a/lightning/src/ln/outbound_payment.rs +++ b/lightning/src/ln/outbound_payment.rs @@ -720,9 +720,9 @@ impl OutboundPayments { log_trace!(logger, "Failing outbound payment HTLC with payment_hash {}", log_bytes!(payment_hash.0)); let path_failure = { - #[cfg(test)] + #[cfg(test)] let (network_update, short_channel_id, payment_retryable, onion_error_code, onion_error_data) = onion_error.decode_onion_failure(secp_ctx, logger, &source); - #[cfg(not(test))] + #[cfg(not(test))] let (network_update, short_channel_id, payment_retryable, _, _) = onion_error.decode_onion_failure(secp_ctx, logger, &source); if payment_is_probe(payment_hash, &payment_id, probing_cookie_secret) {