From ae08d0c86a81a0d287f466c8ce97d616885c5d8b Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Thu, 9 Nov 2023 15:15:15 -0500 Subject: [PATCH] Make BlindedPath::new_for_payment pub Because we now support receiving to multi-hop blinded paths. --- lightning/src/blinded_path/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/blinded_path/mod.rs b/lightning/src/blinded_path/mod.rs index d75b4f25b..b1fc9e1c0 100644 --- a/lightning/src/blinded_path/mod.rs +++ b/lightning/src/blinded_path/mod.rs @@ -105,7 +105,7 @@ impl BlindedPath { /// /// [`ForwardTlvs`]: crate::blinded_path::payment::ForwardTlvs // TODO: make all payloads the same size with padding + add dummy hops - pub(crate) fn new_for_payment( + pub fn new_for_payment( intermediate_nodes: &[payment::ForwardNode], payee_node_id: PublicKey, payee_tlvs: payment::ReceiveTlvs, htlc_maximum_msat: u64, entropy_source: &ES, secp_ctx: &Secp256k1 -- 2.39.5