From cf4746dbf1b594ded30c846ced413ce74de771fc Mon Sep 17 00:00:00 2001 From: Drazen Date: Tue, 14 Nov 2023 11:18:39 +0000 Subject: [PATCH] Try 0 hops --- common/nymsphinx/params/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/nymsphinx/params/src/lib.rs b/common/nymsphinx/params/src/lib.rs index f98d5c8ea9..ff68fee607 100644 --- a/common/nymsphinx/params/src/lib.rs +++ b/common/nymsphinx/params/src/lib.rs @@ -17,7 +17,7 @@ pub mod packet_version; // If somebody can provide an argument why it might be reasonable to have more than 255 mix hops, // I will change this to [`usize`] -pub const DEFAULT_NUM_MIX_HOPS: u8 = 1; +pub const DEFAULT_NUM_MIX_HOPS: u8 = 0; // TODO: not entirely sure how to feel about those being defined here, ideally it'd be where [`Fragment`] // is defined, but that'd introduce circular dependencies as the acknowledgements crate also needs