Skip to content

Commit 7e69d83

Browse files
committed
Expose ChannelManager offer constructors in bindings
1 parent 3da85c9 commit 7e69d83

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lightning/src/ln/channelmanager.rs

-4
Original file line numberDiff line numberDiff line change
@@ -8563,8 +8563,6 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
85638563
///
85648564
/// Errors if the parameterized [`Router`] is unable to create a blinded path for the offer.
85658565
///
8566-
/// This is not exported to bindings users as builder patterns don't map outside of move semantics.
8567-
///
85688566
/// [`Offer`]: crate::offers::offer::Offer
85698567
/// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
85708568
pub fn create_offer_builder(&$self) -> Result<$builder, Bolt12SemanticError> {
@@ -8627,8 +8625,6 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
86278625
/// - `amount_msats` is invalid, or
86288626
/// - the parameterized [`Router`] is unable to create a blinded path for the refund.
86298627
///
8630-
/// This is not exported to bindings users as builder patterns don't map outside of move semantics.
8631-
///
86328628
/// [`Refund`]: crate::offers::refund::Refund
86338629
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice
86348630
/// [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths

lightning/src/offers/offer.rs

-4
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ pub struct OfferBuilder<'a, M: MetadataStrategy, T: secp256k1::Signing> {
163163
///
164164
/// See [module-level documentation] for usage.
165165
///
166-
/// This is not exported to bindings users as builder patterns don't map outside of move semantics.
167-
///
168166
/// [module-level documentation]: self
169167
#[cfg(c_bindings)]
170168
pub struct OfferWithExplicitMetadataBuilder<'a> {
@@ -177,8 +175,6 @@ pub struct OfferWithExplicitMetadataBuilder<'a> {
177175
///
178176
/// See [module-level documentation] for usage.
179177
///
180-
/// This is not exported to bindings users as builder patterns don't map outside of move semantics.
181-
///
182178
/// [module-level documentation]: self
183179
#[cfg(c_bindings)]
184180
pub struct OfferWithDerivedMetadataBuilder<'a> {

0 commit comments

Comments
 (0)