Skip to content

Commit 080c166

Browse files
committed
Remove initiated date from multi-signer state
1 parent fed370b commit 080c166

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mithril-aggregator/src/multi_signer.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use async_trait::async_trait;
2-
use chrono::prelude::*;
32
use hex::ToHex;
43
use slog_scope::{debug, warn};
54
use std::sync::Arc;
@@ -205,9 +204,6 @@ pub struct MultiSignerImpl {
205204
/// Beacon that is currently used
206205
current_beacon: Option<entities::Beacon>,
207206

208-
/// Signing start datetime of current message
209-
current_initiated_at: Option<DateTime<Utc>>,
210-
211207
/// Verification key store
212208
verification_key_store: Arc<VerificationKeyStore>,
213209

@@ -233,7 +229,6 @@ impl MultiSignerImpl {
233229
Self {
234230
current_message: None,
235231
current_beacon: None,
236-
current_initiated_at: None,
237232
verification_key_store,
238233
stake_store,
239234
single_signature_store,
@@ -342,7 +337,6 @@ impl MultiSigner for MultiSignerImpl {
342337
) -> Result<(), ProtocolError> {
343338
debug!("Update current_message"; "protocol_message" => #?message, "signed message" => message.compute_hash().encode_hex::<String>());
344339

345-
self.current_initiated_at = Some(Utc::now());
346340
self.current_message = Some(message);
347341
Ok(())
348342
}

0 commit comments

Comments
 (0)