Stateless offer and refund builder utilities
[rust-lightning] / lightning / src / ln / outbound_payment.rs
index d679036c1d69a25153b500ffea06ccc4b2efcfc9..19faad07bbd518f4de55a442c52067905a5959cd 100644 (file)
@@ -1268,8 +1268,7 @@ impl OutboundPayments {
                (payment, onion_session_privs)
        }
 
-       #[allow(unused)]
-       fn add_new_awaiting_invoice(
+       pub(super) fn add_new_awaiting_invoice(
                &self, payment_id: PaymentId, absolute_expiry: Duration, retry_strategy: Retry,
                max_total_routing_fee_msat: Option<u64>
        ) -> Result<(), ()> {