X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Foffers%2Foffer.rs;fp=lightning%2Fsrc%2Foffers%2Foffer.rs;h=253de8652bbdb8bbe70792988fa676a9b52bcbc6;hb=88e1b56d66ff550b36a6d422f47c9b9729406f61;hp=dd58c75cec27e600e803122d72d92036665b0976;hpb=07d991c82fadf10f59ae01b2b5aef6bc8797fd9a;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), ()> {