delegate_groups_mc_test: Fix round alignment problem due to generate_block() in database_fixture ctor

This commit is contained in:
theoreticalbts 2015-06-11 17:12:37 -04:00
parent a34cde2178
commit 353bbd6b5c

View file

@ -268,6 +268,7 @@ BOOST_FIXTURE_TEST_CASE( delegate_groups_mc_test, database_fixture )
cur_round.reserve( num_witnesses );
full_schedule.reserve( total_blocks );
cur_round.push_back( db.get_dynamic_global_properties().current_witness );
// we assert so the test doesn't continue, which would
// corrupt memory