X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/5b8bd04910bea5ce2b70e922b1eb063475d52b5c..c5cbd7402015e45558995e00d9623f41ecdf9732:/server/src/main.rs diff --git a/server/src/main.rs b/server/src/main.rs index 94a47d8..37de6bd 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -30,7 +30,6 @@ struct MessageKey { #[derive(Debug)] struct Message { key: MessageKey, - ago: u32, t: SystemTime, } @@ -43,7 +42,6 @@ impl From<&[u8; MESSAGE_SIZE]> for Message { device: u16::from_be_bytes(value[4..=5].try_into().expect("I can't count")), seq: u16::from_be_bytes(value[6..=7].try_into().expect("I can't count")), }, - ago, t: SystemTime::now() - Duration::new(ago.into(), 0), } }