From 353bbd6b5c253291d5db8c77f0faf8e1b6cfa5d0 Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Thu, 11 Jun 2015 17:12:37 -0400 Subject: [PATCH] delegate_groups_mc_test: Fix round alignment problem due to generate_block() in database_fixture ctor --- tests/intense/block_tests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/intense/block_tests.cpp b/tests/intense/block_tests.cpp index eec68d4e..b547fa13 100644 --- a/tests/intense/block_tests.cpp +++ b/tests/intense/block_tests.cpp @@ -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