From 011be0d31b18bb2233044d0b09904da48005da89 Mon Sep 17 00:00:00 2001 From: Simon Wicky Date: Wed, 13 Mar 2024 11:16:55 +0100 Subject: [PATCH] remove outdated comments --- common/nymnoise/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/nymnoise/src/lib.rs b/common/nymnoise/src/lib.rs index c5b28262a3..7483819f4a 100644 --- a/common/nymnoise/src/lib.rs +++ b/common/nymnoise/src/lib.rs @@ -26,7 +26,6 @@ pub async fn upgrade_noise_initiator( ) -> Result { trace!("Perform Noise Handshake, initiator side"); - //In case the local key cannot be known by the remote party, e.g. in a client-gateway connection let secret = [ NOISE_PSK_PREFIX.to_vec(), remote_pub_key.to_bytes().to_vec(), @@ -89,7 +88,6 @@ pub async fn upgrade_noise_responder( ) -> Result { trace!("Perform Noise Handshake, responder side"); - //If the remote_key cannot be kwnown, e.g. in a client-gateway connection let secret = [ NOISE_PSK_PREFIX.to_vec(), local_public_key.to_bytes().to_vec(), @@ -125,7 +123,6 @@ pub async fn upgrade_noise_responder_with_topology( } }; - //SW : for private gateway, we could try to perform the handshake without that key? match topology.find_node_key_by_mix_host(initiator_addr, false) { Ok(Some(_)) => { //Existing node supporting Noise