Hardcode 1 hop

This commit is contained in:
Drazen
2023-11-14 11:13:42 +00:00
parent 06a96fa74a
commit 75837d73c2
+1 -1
View File
@@ -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 = 3;
pub const DEFAULT_NUM_MIX_HOPS: u8 = 1;
// 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