})
}
+#[deprecated(note = "Use ChannelManager::create_bolt11_invoice instead.")]
/// Utility to construct an invoice. Generally, unless you want to do something like a custom
/// cltv_expiry, this is what you should be using to create an invoice. The reason being, this
/// method stores the invoice's payment secret and preimage in `ChannelManager`, so (a) the user
channelmanager.create_bolt11_invoice(params)
}
+#[deprecated(note = "Use ChannelManager::create_bolt11_invoice instead.")]
/// Utility to construct an invoice. Generally, unless you want to do something like a custom
/// cltv_expiry, this is what you should be using to create an invoice. The reason being, this
/// method stores the invoice's payment secret and preimage in `ChannelManager`, so (a) the user
channelmanager.create_bolt11_invoice(params)
}
+#[deprecated(note = "Use ChannelManager::create_bolt11_invoice instead.")]
/// See [`create_invoice_from_channelmanager`].
///
/// This version allows for providing custom [`PaymentHash`] and description hash for the invoice.
channelmanager.create_bolt11_invoice(params)
}
+#[deprecated(note = "Use ChannelManager::create_bolt11_invoice instead.")]
/// See [`create_invoice_from_channelmanager`].
///
/// This version allows for providing a custom [`PaymentHash`] for the invoice.