diff --git a/nomos-mix/core/src/cover_traffic.rs b/nomos-mix/core/src/cover_traffic.rs index 4cb8c7c3..5455efa0 100644 --- a/nomos-mix/core/src/cover_traffic.rs +++ b/nomos-mix/core/src/cover_traffic.rs @@ -7,8 +7,9 @@ use std::marker::PhantomData; use std::ops::{DerefMut, Div}; use std::pin::Pin; use std::task::{Context, Poll}; +use serde::Deserialize; -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Deserialize)] pub struct CoverTrafficSettings { pub node_id: [u8; 32], pub number_of_hops: usize,