Export `outbound_payment` structs in their respective modules
[rust-lightning] / lightning / src / ln / channelmanager.rs
index b22c3716ccbbdb795981d94e270424e089e25392..cdeb2c4d16e6fdf40a2a172916e78545f2969073 100644 (file)
@@ -77,7 +77,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, Retry, RetryableSendFailure, RecipientOnionFields};
+pub(crate) use crate::ln::outbound_payment::{PaymentSendFailure, Retry, RetryableSendFailure, RecipientOnionFields};
 use crate::ln::script::ShutdownScript;
 
 // We hold various information about HTLC relay in the HTLC objects in Channel itself: