`crate`-only several BOLT12 methods that require unbounded generics
[rust-lightning] / lightning / src / offers / invoice_request.rs
index bd6d58371a9f316cccf6b362cc4825f27171f177..b7f48e2ddaf61193ea8aad1e85abe864ba6f3551 100644 (file)
@@ -395,7 +395,7 @@ impl UnsignedInvoiceRequest {
        /// Note: The hash computation may have included unknown, odd TLV records.
        ///
        /// This is not exported to bindings users as functions are not yet mapped.
-       pub fn sign<F, E>(mut self, sign: F) -> Result<InvoiceRequest, SignError<E>>
+       pub(crate) fn sign<F, E>(mut self, sign: F) -> Result<InvoiceRequest, SignError<E>>
        where
                F: FnOnce(&Self) -> Result<Signature, E>
        {