]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Expose Retry enum from channelmanager module
authorValentine Wallace <vwallace@protonmail.com>
Tue, 31 Jan 2023 20:28:49 +0000 (15:28 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 31 Jan 2023 20:28:49 +0000 (15:28 -0500)
lightning/src/ln/channelmanager.rs

index b2a23c7c1d44cbdf03137263c663acaa285774c1..69006bcc889cdd20b4bb45b3cd610bab63d2934d 100644 (file)
@@ -53,7 +53,7 @@ use crate::ln::onion_utils::HTLCFailReason;
 use crate::ln::msgs::{ChannelMessageHandler, DecodeError, LightningError, MAX_VALUE_MSAT};
 #[cfg(test)]
 use crate::ln::outbound_payment;
-use crate::ln::outbound_payment::{OutboundPayments, PaymentAttempts, PendingOutboundPayment, Retry};
+use crate::ln::outbound_payment::{OutboundPayments, PaymentAttempts, PendingOutboundPayment};
 use crate::ln::wire::Encode;
 use crate::chain::keysinterface::{EntropySource, KeysManager, NodeSigner, Recipient, SignerProvider, ChannelSigner};
 use crate::util::config::{UserConfig, ChannelConfig};
@@ -76,7 +76,7 @@ use core::time::Duration;
 use core::ops::Deref;
 
 // Re-export this for use in the public API.
-pub use crate::ln::outbound_payment::PaymentSendFailure;
+pub use crate::ln::outbound_payment::{PaymentSendFailure, Retry};
 
 // We hold various information about HTLC relay in the HTLC objects in Channel itself:
 //