File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 1
1
use async_trait:: async_trait;
2
- use chrono:: prelude:: * ;
3
2
use hex:: ToHex ;
4
3
use slog_scope:: { debug, warn} ;
5
4
use std:: sync:: Arc ;
@@ -205,9 +204,6 @@ pub struct MultiSignerImpl {
205
204
/// Beacon that is currently used
206
205
current_beacon : Option < entities:: Beacon > ,
207
206
208
- /// Signing start datetime of current message
209
- current_initiated_at : Option < DateTime < Utc > > ,
210
-
211
207
/// Verification key store
212
208
verification_key_store : Arc < VerificationKeyStore > ,
213
209
@@ -233,7 +229,6 @@ impl MultiSignerImpl {
233
229
Self {
234
230
current_message : None ,
235
231
current_beacon : None ,
236
- current_initiated_at : None ,
237
232
verification_key_store,
238
233
stake_store,
239
234
single_signature_store,
@@ -342,7 +337,6 @@ impl MultiSigner for MultiSignerImpl {
342
337
) -> Result < ( ) , ProtocolError > {
343
338
debug ! ( "Update current_message" ; "protocol_message" => #?message, "signed message" => message. compute_hash( ) . encode_hex:: <String >( ) ) ;
344
339
345
- self . current_initiated_at = Some ( Utc :: now ( ) ) ;
346
340
self . current_message = Some ( message) ;
347
341
Ok ( ( ) )
348
342
}
You can’t perform that action at this time.
0 commit comments