mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Make BlindedPath::new_for_payment pub
Because we now support receiving to multi-hop blinded paths.
This commit is contained in:
parent
41808037ac
commit
ae08d0c86a
1 changed files with 1 additions and 1 deletions
|
@ -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<ES: EntropySource + ?Sized, T: secp256k1::Signing + secp256k1::Verification>(
|
||||
pub fn new_for_payment<ES: EntropySource + ?Sized, T: secp256k1::Signing + secp256k1::Verification>(
|
||||
intermediate_nodes: &[payment::ForwardNode], payee_node_id: PublicKey,
|
||||
payee_tlvs: payment::ReceiveTlvs, htlc_maximum_msat: u64, entropy_source: &ES,
|
||||
secp_ctx: &Secp256k1<T>
|
||||
|
|
Loading…
Add table
Reference in a new issue