Merge pull request #3078 from jkczyz/2024-05-invoice-event
[rust-lightning] / lightning / src / ln / outbound_payment.rs
index 2a9e52c83c7b21341610994536c94788259dd6bf..3ae128cb3bbe97f37016d0447fed25384ebf3dba 100644 (file)
@@ -501,9 +501,9 @@ pub enum PaymentSendFailure {
        },
 }
 
-/// An error when attempting to pay a BOLT 12 invoice.
+/// An error when attempting to pay a [`Bolt12Invoice`].
 #[derive(Clone, Debug, PartialEq, Eq)]
-pub(super) enum Bolt12PaymentError {
+pub enum Bolt12PaymentError {
        /// The invoice was not requested.
        UnexpectedInvoice,
        /// Payment for an invoice with the corresponding [`PaymentId`] was already initiated.