@@ -130,9 +130,7 @@ use event::{EventHandler, EventQueue};
130130use gossip:: GossipSource ;
131131use liquidity:: LiquiditySource ;
132132use payment:: payment_store:: PaymentStore ;
133- use payment:: {
134- Bolt11Payment , Bolt12PaymentHandler , OnchainPayment , PaymentDetails , SpontaneousPayment ,
135- } ;
133+ use payment:: { Bolt11Payment , Bolt12Payment , OnchainPayment , PaymentDetails , SpontaneousPayment } ;
136134use peer_store:: { PeerInfo , PeerStore } ;
137135use types:: {
138136 Broadcaster , ChainMonitor , ChannelManager , DynStore , FeeEstimator , KeysManager , NetworkGraph ,
@@ -852,8 +850,8 @@ impl Node {
852850 ///
853851 /// [BOLT 12]: https://github.com/lightning/bolts/blob/master/12-offer-encoding.md
854852 #[ cfg( not( feature = "uniffi" ) ) ]
855- pub fn bolt12_payment ( & self ) -> Arc < Bolt12PaymentHandler > {
856- Arc :: new ( Bolt12PaymentHandler :: new (
853+ pub fn bolt12_payment ( & self ) -> Arc < Bolt12Payment > {
854+ Arc :: new ( Bolt12Payment :: new (
857855 Arc :: clone ( & self . runtime ) ,
858856 Arc :: clone ( & self . channel_manager ) ,
859857 Arc :: clone ( & self . connection_manager ) ,
@@ -869,8 +867,8 @@ impl Node {
869867 ///
870868 /// [BOLT 12]: https://github.com/lightning/bolts/blob/master/12-offer-encoding.md
871869 #[ cfg( feature = "uniffi" ) ]
872- pub fn bolt12_payment ( & self ) -> Arc < Bolt12PaymentHandler > {
873- Arc :: new ( Bolt12PaymentHandler :: new (
870+ pub fn bolt12_payment ( & self ) -> Arc < Bolt12Payment > {
871+ Arc :: new ( Bolt12Payment :: new (
874872 Arc :: clone ( & self . runtime ) ,
875873 Arc :: clone ( & self . channel_manager ) ,
876874 Arc :: clone ( & self . connection_manager ) ,
0 commit comments