From 4e2eb1b5de609e46f63fbff9b175ae53b1e2eae4 Mon Sep 17 00:00:00 2001 From: pbattu123 Date: Mon, 10 Feb 2020 14:55:20 -0400 Subject: [PATCH] remove unwanted check --- libraries/chain/db_block.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/chain/db_block.cpp b/libraries/chain/db_block.cpp index 99503bfb..90eb6cd0 100644 --- a/libraries/chain/db_block.cpp +++ b/libraries/chain/db_block.cpp @@ -723,10 +723,6 @@ const witness_object& database::validate_block_header( uint32_t skip, const sign FC_ASSERT( head_block_id() == next_block.previous, "", ("head_block_id",head_block_id())("next.prev",next_block.previous) ); FC_ASSERT( head_block_time() < next_block.timestamp, "", ("head_block_time",head_block_time())("next",next_block.timestamp)("blocknum",next_block.block_num()) ); const witness_object& witness = next_block.witness(*this); -//DLN: TODO: Temporarily commented out to test shuffle vs RNG scheduling algorithm for witnesses, this was causing shuffle agorithm to fail during create_witness test. This should be re-enabled for RNG, and maybe for shuffle too, don't really know for sure. - if( next_block.timestamp > HARDFORK_SWEEPS_TIME ) - FC_ASSERT( secret_hash_type::hash( next_block.previous_secret ) == witness.next_secret_hash, "", - ( "previous_secret", next_block.previous_secret )( "next_secret_hash", witness.next_secret_hash ) ); if( !(skip&skip_witness_signature) ) FC_ASSERT( next_block.validate_signee( witness.signing_key ) );