]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Mark a few offers fields no-export as we have no mapping for them
authorMatt Corallo <git@bluematt.me>
Sat, 11 May 2024 20:05:15 +0000 (20:05 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 14 May 2024 20:46:40 +0000 (20:46 +0000)
lightning/src/offers/invoice.rs
lightning/src/offers/parse.rs

index c1ad5b3201a6d3f20f02b0ee6782557bb8d86b9b..2c0d3420474724cb9d1648b5b5c66e607820a754 100644 (file)
@@ -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<Address> {
                $contents.fallbacks()
        }
index 3b9b04a5c06f8f00d898cec70aec46f6be600e3e..cefaaf186bbe33f034a42f0fd84dc8b48b109838 100644 (file)
@@ -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.