We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c4f824 commit 9111138Copy full SHA for 9111138
lightning/src/blinded_path/mod.rs
@@ -75,10 +75,9 @@ impl BlindedPath {
75
})
76
}
77
78
- /// Create a blinded path for a payment, to be forwarded along `path`. The last node
79
- /// in `path` will be the destination node.
+ /// Create a blinded path for a payment, to be forwarded along `intermediate_nodes`.
80
///
81
- /// Errors if `path` is empty or a node id in `path` is invalid.
+ /// Errors if a provided node id is invalid.
82
// TODO: make all payloads the same size with padding + add dummy hops
83
pub fn new_for_payment<ES: EntropySource, T: secp256k1::Signing + secp256k1::Verification>(
84
intermediate_nodes: &[(PublicKey, payment::ForwardTlvs)], payee_node_id: PublicKey,
0 commit comments