Skip to content

Commit 7e89634

Browse files
committed
f - fix docs
1 parent 01d5c7a commit 7e89634

File tree

1 file changed

+1
-1
lines changed
  • lightning/src/blinded_path

1 file changed

+1
-1
lines changed

lightning/src/blinded_path/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl BlindedPath {
6666
/// Create a blinded path for an onion message, to be forwarded along `node_pks`. The last node
6767
/// pubkey in `node_pks` will be the destination node.
6868
///
69-
/// Errors if less than one hop is provided or if `node_pk`(s) are invalid.
69+
/// Errors if no hops are provided or if `node_pk`(s) are invalid.
7070
// TODO: make all payloads the same size with padding + add dummy hops
7171
pub fn new_for_message<ES: EntropySource, T: secp256k1::Signing + secp256k1::Verification>(
7272
node_pks: &[PublicKey], entropy_source: &ES, secp_ctx: &Secp256k1<T>

0 commit comments

Comments
 (0)