delegate_groups_mc_test: Fix round alignment problem due to generate_block() in database_fixture ctor
This commit is contained in:
parent
a34cde2178
commit
353bbd6b5c
1 changed files with 1 additions and 0 deletions
|
|
@ -268,6 +268,7 @@ BOOST_FIXTURE_TEST_CASE( delegate_groups_mc_test, database_fixture )
|
||||||
|
|
||||||
cur_round.reserve( num_witnesses );
|
cur_round.reserve( num_witnesses );
|
||||||
full_schedule.reserve( total_blocks );
|
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
|
// we assert so the test doesn't continue, which would
|
||||||
// corrupt memory
|
// corrupt memory
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue