From: benthecarman Date: Tue, 12 Sep 2023 22:48:00 +0000 (-0500) Subject: Re-export RouteHint and PaymentSecret X-Git-Tag: v0.0.117-alpha1~13^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=79b426f49b08a66e404669ce7d1332c3977c5d95;p=rust-lightning Re-export RouteHint and PaymentSecret --- diff --git a/lightning-invoice/src/lib.rs b/lightning-invoice/src/lib.rs index d1b381130..d4e2b7367 100644 --- a/lightning-invoice/src/lib.rs +++ b/lightning-invoice/src/lib.rs @@ -50,11 +50,9 @@ use bech32::u5; use bitcoin::{Address, Network, PubkeyHash, ScriptHash}; use bitcoin::util::address::{Payload, WitnessVersion}; use bitcoin_hashes::{Hash, sha256}; -use lightning::ln::PaymentSecret; use lightning::ln::features::Bolt11InvoiceFeatures; #[cfg(any(doc, test))] use lightning::routing::gossip::RoutingFees; -use lightning::routing::router::RouteHint; use lightning::util::invoice::construct_invoice_preimage; use secp256k1::PublicKey; @@ -73,6 +71,11 @@ use core::str; #[cfg(feature = "serde")] use serde::{Deserialize, Deserializer,Serialize, Serializer, de::Error}; +#[doc(no_inline)] +pub use lightning::ln::PaymentSecret; +#[doc(no_inline)] +pub use lightning::routing::router::RouteHint; + mod de; mod ser; mod tb;