Skip to content

Commit

Permalink
Performance Improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Vandeberg committed Jul 22, 2016
1 parent 927e11f commit 90df21f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2545,13 +2545,13 @@ void database::apply_block( const signed_block& next_block, uint32_t skip )
_apply_block( next_block );
} );

try
/*try
{
/// check invariants
if( is_producing() || !( skip & skip_validate_invariants ) )
validate_invariants();
}
FC_CAPTURE_AND_RETHROW( (next_block) );
FC_CAPTURE_AND_RETHROW( (next_block) );*/
}

void database::_apply_block( const signed_block& next_block )
Expand Down

0 comments on commit 90df21f

Please sign in to comment.