X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Foffers%2Foffer.rs;h=253de8652bbdb8bbe70792988fa676a9b52bcbc6;hb=3ccf06416091e107f443ee92027501105c48054b;hp=dd58c75cec27e600e803122d72d92036665b0976;hpb=1e580668684d4dbf11d69d75e5d4a5c4f8cc40bf;p=rust-lightning diff --git a/lightning/src/offers/offer.rs b/lightning/src/offers/offer.rs index dd58c75c..253de865 100644 --- a/lightning/src/offers/offer.rs +++ b/lightning/src/offers/offer.rs @@ -665,6 +665,7 @@ impl Offer { self.contents.expects_quantity() } + #[cfg(async_payments)] pub(super) fn verify( &self, key: &ExpandedKey, secp_ctx: &Secp256k1 ) -> Result<(OfferId, Option), ()> {