From 109d95cbda947be90616d622ab718184b329f5ff Mon Sep 17 00:00:00 2001 From: Vikram Rajkumar Date: Tue, 16 Jun 2015 17:02:13 -0400 Subject: [PATCH] Fix build --- tests/intense/block_tests.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/intense/block_tests.cpp b/tests/intense/block_tests.cpp index 993cf074..1a971b29 100644 --- a/tests/intense/block_tests.cpp +++ b/tests/intense/block_tests.cpp @@ -166,7 +166,7 @@ BOOST_FIXTURE_TEST_CASE( update_account_keys, database_fixture ) // size() < num_active_keys is possible when some keys are duplicates create_op.active.weight_threshold = create_op.active.auths.size(); - create_op.memo_key = key_ids[ *(it++) ] ; + create_op.options.memo_key = key_ids[ *(it++) ] ; create_op.registrar = sam_account_object.id; trx.operations.push_back( create_op ); // trx.sign( sam_key ); @@ -191,6 +191,7 @@ BOOST_FIXTURE_TEST_CASE( update_account_keys, database_fixture ) update_op.account = alice_account_id; update_op.owner = authority(); update_op.active = authority(); + update_op.new_options = create_op.options; for( int owner_index=0; owner_indexauths[ key_ids[ *(it++) ] ] = 1; @@ -200,7 +201,8 @@ BOOST_FIXTURE_TEST_CASE( update_account_keys, database_fixture ) update_op.active->auths[ key_ids[ *(it++) ] ] = 1; // size() < num_active_keys is possible when some keys are duplicates update_op.active->weight_threshold = update_op.active->auths.size(); - update_op.memo_key = key_ids[ *(it++) ] ; + FC_ASSERT( update_op.new_options.valid() ); + update_op.new_options->memo_key = key_ids[ *(it++) ] ; trx.operations.push_back( update_op ); for( int i=0; i