]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Remove trailing whitespace.
authorValentine Wallace <vwallace@protonmail.com>
Wed, 10 Jan 2024 15:55:55 +0000 (10:55 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 10 Jan 2024 15:56:10 +0000 (10:56 -0500)
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs

index e04a3cd1a34bdfda679c677e3a09518be526132d..55b201ed961ae1a496eccbf7829498b69a3489f6 100644 (file)
@@ -6037,7 +6037,7 @@ where
                                                APIError::ChannelUnavailable { err: err_str }
                                        })
                                }
-                       _ => { 
+                       _ => {
                                let err_str = "No such channel awaiting to be accepted.".to_owned();
                                log_error!(logger, "{}", err_str);
 
index e1748dca7f2ac11978035b2b44c4b66f8a2973d0..f5396046177fe40dbb02295bd6419b8208f41052 100644 (file)
@@ -243,7 +243,7 @@ impl PendingOutboundPayment {
                if insert_res {
                        if let PendingOutboundPayment::Retryable {
                                ref mut pending_amt_msat, ref mut pending_fee_msat,
-                               ref mut remaining_max_total_routing_fee_msat, .. 
+                               ref mut remaining_max_total_routing_fee_msat, ..
                        } = self {
                                        *pending_amt_msat += path.final_value_msat();
                                        let path_fee_msat = path.fee_msat();