We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76fb23f + c5b8d6e commit e233188Copy full SHA for e233188
src/lib.rs
@@ -1003,13 +1003,13 @@ impl Node {
1003
///
1004
/// [BOLT 12]: https://github.com/lightning/bolts/blob/master/12-offer-encoding.md
1005
#[cfg(not(feature = "uniffi"))]
1006
- pub fn bolt12_payment(&self) -> Arc<Bolt12Payment> {
1007
- Arc::new(Bolt12Payment::new(
+ pub fn bolt12_payment(&self) -> Bolt12Payment {
+ Bolt12Payment::new(
1008
Arc::clone(&self.runtime),
1009
Arc::clone(&self.channel_manager),
1010
Arc::clone(&self.payment_store),
1011
Arc::clone(&self.logger),
1012
- ))
+ )
1013
}
1014
1015
/// Returns a payment handler allowing to create and pay [BOLT 12] offers and refunds.
0 commit comments