From 1eb3520ad4be64d8f27e2f3113523554c9709639 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 11 May 2024 20:05:15 +0000 Subject: [PATCH] Mark a few offers fields no-export as we have no mapping for them --- lightning/src/offers/invoice.rs | 2 ++ lightning/src/offers/parse.rs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lightning/src/offers/invoice.rs b/lightning/src/offers/invoice.rs index c1ad5b320..2c0d34204 100644 --- a/lightning/src/offers/invoice.rs +++ b/lightning/src/offers/invoice.rs @@ -836,6 +836,8 @@ macro_rules! invoice_accessors { ($self: ident, $contents: expr) => { /// Fallback addresses for paying the invoice on-chain, in order of most-preferred to /// least-preferred. + /// + /// This is not exported to bindings users as Address is not yet mapped pub fn fallbacks(&$self) -> Vec
{ $contents.fallbacks() } diff --git a/lightning/src/offers/parse.rs b/lightning/src/offers/parse.rs index 3b9b04a5c..cefaaf186 100644 --- a/lightning/src/offers/parse.rs +++ b/lightning/src/offers/parse.rs @@ -125,7 +125,8 @@ pub enum Bolt12ParseError { /// being parsed. InvalidBech32Hrp, /// The string could not be bech32 decoded. - Bech32(bech32::Error), + Bech32(/// This is not exported to bindings users as the details don't matter much + bech32::Error), /// The bech32 decoded string could not be decoded as the expected message type. Decode(DecodeError), /// The parsed message has invalid semantics. -- 2.39.5