66
66
//! [`start`]: Node::start
67
67
//! [`stop`]: Node::stop
68
68
//! [`connect_open_channel`]: Node::connect_open_channel
69
- //! [`send`]: Bolt11PaymentHandler ::send
69
+ //! [`send`]: Bolt11Payment ::send
70
70
//!
71
71
#![ cfg_attr( not( feature = "uniffi" ) , deny( missing_docs) ) ]
72
72
#![ deny( rustdoc:: broken_intra_doc_links) ]
@@ -130,7 +130,7 @@ use connection::ConnectionManager;
130
130
use event:: { EventHandler , EventQueue } ;
131
131
use gossip:: GossipSource ;
132
132
use liquidity:: LiquiditySource ;
133
- use payment:: Bolt11PaymentHandler ;
133
+ use payment:: Bolt11Payment ;
134
134
use payment_store:: PaymentStore ;
135
135
pub use payment_store:: { LSPFeeLimits , PaymentDetails , PaymentDirection , PaymentStatus } ;
136
136
use peer_store:: { PeerInfo , PeerStore } ;
@@ -821,8 +821,8 @@ impl Node {
821
821
///
822
822
/// [BOLT 11]: https://github.com/lightning/bolts/blob/master/11-payment-encoding.md
823
823
#[ cfg( not( feature = "uniffi" ) ) ]
824
- pub fn bolt11_payment ( & self ) -> Bolt11PaymentHandler {
825
- Bolt11PaymentHandler :: new (
824
+ pub fn bolt11_payment ( & self ) -> Bolt11Payment {
825
+ Bolt11Payment :: new (
826
826
Arc :: clone ( & self . runtime ) ,
827
827
Arc :: clone ( & self . channel_manager ) ,
828
828
Arc :: clone ( & self . connection_manager ) ,
@@ -839,8 +839,8 @@ impl Node {
839
839
///
840
840
/// [BOLT 11]: https://github.com/lightning/bolts/blob/master/11-payment-encoding.md
841
841
#[ cfg( feature = "uniffi" ) ]
842
- pub fn bolt11_payment ( & self ) -> Arc < Bolt11PaymentHandler > {
843
- Arc :: new ( Bolt11PaymentHandler :: new (
842
+ pub fn bolt11_payment ( & self ) -> Arc < Bolt11Payment > {
843
+ Arc :: new ( Bolt11Payment :: new (
844
844
Arc :: clone ( & self . runtime ) ,
845
845
Arc :: clone ( & self . channel_manager ) ,
846
846
Arc :: clone ( & self . connection_manager ) ,
@@ -1218,7 +1218,7 @@ impl Node {
1218
1218
/// Sends payment probes over all paths of a route that would be used to pay the given
1219
1219
/// amount to the given `node_id`.
1220
1220
///
1221
- /// See [`Bolt11PaymentHandler ::send_probes`] for more information.
1221
+ /// See [`Bolt11Payment ::send_probes`] for more information.
1222
1222
pub fn send_spontaneous_payment_probes (
1223
1223
& self , amount_msat : u64 , node_id : PublicKey ,
1224
1224
) -> Result < ( ) , Error > {
0 commit comments