Skip to content

Commit e5ec13d

Browse files
Fix outdated comment in onion message functional test.
1 parent 8f395bf commit e5ec13d

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
@@ -374,11 +374,10 @@ fn we_are_intro_node() {
374374

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

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

0 commit comments

Comments
 (0)