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