From de61fd547d1b90706bf5d6751edaacdcb2a23240 Mon Sep 17 00:00:00 2001 From: 0x009922 <43530070+0x009922@users.noreply.github.com> Date: Thu, 17 Oct 2024 13:44:04 +0900 Subject: [PATCH] revert: redundant assert from #5140 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marin Veršić Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com> --- crates/iroha_core/src/sumeragi/main_loop.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/iroha_core/src/sumeragi/main_loop.rs b/crates/iroha_core/src/sumeragi/main_loop.rs index 098a903959c..050c95c1d66 100644 --- a/crates/iroha_core/src/sumeragi/main_loop.rs +++ b/crates/iroha_core/src/sumeragi/main_loop.rs @@ -392,8 +392,6 @@ impl Sumeragi { genesis_account: &AccountId, existing_voting_block: &mut Option, ) -> Option> { - assert!(!block.header().is_genesis()); - ValidBlock::validate_keep_voting_block( block, topology,