From 38ec9254d1e2dfa154ced876e51db6a74e827b79 Mon Sep 17 00:00:00 2001 From: ViacheslavB Date: Fri, 31 Mar 2023 11:46:16 +0300 Subject: [PATCH] Remove uneeded comments --- src/validator/validator_manager.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/validator/validator_manager.rs b/src/validator/validator_manager.rs index de85a00e..a909e26e 100644 --- a/src/validator/validator_manager.rs +++ b/src/validator/validator_manager.rs @@ -606,11 +606,7 @@ impl ValidatorManagerImpl { cc_seqno, &self.config ); -//======= -// if let Some(local_key) = self.find_us(&subset.0) { -// let vsubset = ValidatorSet::with_cc_seqno(0, 0, 0, cc_seqno, subset.0)?; -//>>>>>>> fb7e32d041c8044f742b29a4ebe0043997cebb7d - + let session_info = SessionInfo::new(ident.clone(), session_id.clone(), vsubset.clone()); let old_shards: Vec = prev_blocks.iter().map(|blk| blk.shard_id.clone()).collect(); self.session_history.new_session_after(session_info.clone(), old_shards.clone())?;