From 004b98229a147000554754010a27558ba47b2bd8 Mon Sep 17 00:00:00 2001 From: _ <> Date: Sat, 12 Dec 2020 17:12:38 +0000 Subject: [PATCH] :bug: bug: fix serde expecting phantom data in the config file --- crates/ptth_relay/src/key_validity.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ptth_relay/src/key_validity.rs b/crates/ptth_relay/src/key_validity.rs index 30a314b..8488409 100644 --- a/crates/ptth_relay/src/key_validity.rs +++ b/crates/ptth_relay/src/key_validity.rs @@ -80,6 +80,8 @@ pub struct ScraperKey { pub not_before: DateTime , pub not_after: DateTime , pub hash: BlakeHashWrapper, + + #[serde (default)] _phantom: std::marker::PhantomData , }