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 01d5c7a commit 7e89634Copy full SHA for 7e89634
lightning/src/blinded_path/mod.rs
@@ -66,7 +66,7 @@ impl BlindedPath {
66
/// Create a blinded path for an onion message, to be forwarded along `node_pks`. The last node
67
/// pubkey in `node_pks` will be the destination node.
68
///
69
- /// Errors if less than one hop is provided or if `node_pk`(s) are invalid.
+ /// Errors if no hops are provided or if `node_pk`(s) are invalid.
70
// TODO: make all payloads the same size with padding + add dummy hops
71
pub fn new_for_message<ES: EntropySource, T: secp256k1::Signing + secp256k1::Verification>(
72
node_pks: &[PublicKey], entropy_source: &ES, secp_ctx: &Secp256k1<T>
0 commit comments