From d92b47b275a3ed8eba7a69c8cbfff6a8894bb478 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Fri, 30 Sep 2022 13:55:16 +0800 Subject: [PATCH] WIP12 --- NOnion/Network/TorCircuit.fs | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/NOnion/Network/TorCircuit.fs b/NOnion/Network/TorCircuit.fs index 581530fa..fe6b1a2c 100644 --- a/NOnion/Network/TorCircuit.fs +++ b/NOnion/Network/TorCircuit.fs @@ -673,17 +673,15 @@ type TorCircuit circuitState <- Ready( circuitId, - nodes - @ List.singleton - { - TorCircuitNode.CryptoState = - TorCryptoState.FromKdfResult - (Kdf.ComputeHSKdf ntorKeySeed) - true - Window = - TorWindow - Constants.DefaultCircuitLevelWindowParams - } + { + TorCircuitNode.CryptoState = + TorCryptoState.FromKdfResult + (Kdf.ComputeHSKdf ntorKeySeed) + true + Window = + TorWindow + Constants.DefaultCircuitLevelWindowParams + } :: nodes ) do!