Skip to content

Commit ae758da

Browse files
Fix outdated comment in onion message functional test.
1 parent c551359 commit ae758da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/onion_message/functional_tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,10 @@ fn we_are_intro_node() {
376376

377377
#[test]
378378
fn invalid_blinded_path_error() {
379-
// Make sure we error as expected if a provided blinded path has 0 or 1 hops.
379+
// Make sure we error as expected if a provided blinded path has 0 hops.
380380
let nodes = create_nodes(3);
381381
let test_msg = TestCustomMessage::Response;
382382

383-
// 0 hops
384383
let secp_ctx = Secp256k1::new();
385384
let mut blinded_path = BlindedPath::new_for_message(&[nodes[1].node_id, nodes[2].node_id], &*nodes[2].entropy_source, &secp_ctx).unwrap();
386385
blinded_path.blinded_hops.clear();

0 commit comments

Comments
 (0)