From 4c7ecaaa3fb25e16306cfe30141cba8e69ec5c6f Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Mon, 25 Mar 2024 13:23:00 -0400 Subject: [PATCH] Fix outdated comment in onion message functional test. --- lightning/src/onion_message/functional_tests.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lightning/src/onion_message/functional_tests.rs b/lightning/src/onion_message/functional_tests.rs index f0ca2eec7..41878ed1b 100644 --- a/lightning/src/onion_message/functional_tests.rs +++ b/lightning/src/onion_message/functional_tests.rs @@ -376,11 +376,10 @@ fn we_are_intro_node() { #[test] fn invalid_blinded_path_error() { - // Make sure we error as expected if a provided blinded path has 0 or 1 hops. + // Make sure we error as expected if a provided blinded path has 0 hops. let nodes = create_nodes(3); let test_msg = TestCustomMessage::Response; - // 0 hops let secp_ctx = Secp256k1::new(); let mut blinded_path = BlindedPath::new_for_message(&[nodes[1].node_id, nodes[2].node_id], &*nodes[2].entropy_source, &secp_ctx).unwrap(); blinded_path.blinded_hops.clear(); -- 2.39.5