@@ -89,7 +89,6 @@ mod liquidity;
8989mod logger;
9090mod message_handler;
9191pub mod payment;
92- mod payment_store;
9392mod peer_store;
9493mod sweep;
9594mod tx_broadcaster;
@@ -130,9 +129,8 @@ use connection::ConnectionManager;
130129use event:: { EventHandler , EventQueue } ;
131130use gossip:: GossipSource ;
132131use liquidity:: LiquiditySource ;
133- use payment:: { Bolt11Payment , OnchainPayment , SpontaneousPayment } ;
134- use payment_store:: PaymentStore ;
135- pub use payment_store:: { LSPFeeLimits , PaymentDetails , PaymentDirection , PaymentStatus } ;
132+ use payment:: store:: PaymentStore ;
133+ use payment:: { Bolt11Payment , OnchainPayment , PaymentDetails , SpontaneousPayment } ;
136134use peer_store:: { PeerInfo , PeerStore } ;
137135use types:: {
138136 Broadcaster , ChainMonitor , ChannelManager , DynStore , FeeEstimator , KeysManager , NetworkGraph ,
@@ -1208,7 +1206,8 @@ impl Node {
12081206 ///
12091207 /// For example, you could retrieve all stored outbound payments as follows:
12101208 /// ```
1211- /// # use ldk_node::{Builder, Config, PaymentDirection};
1209+ /// # use ldk_node::{Builder, Config};
1210+ /// # use ldk_node::payment::PaymentDirection;
12121211 /// # use ldk_node::bitcoin::Network;
12131212 /// # let mut config = Config::default();
12141213 /// # config.network = Network::Regtest;
0 commit comments