Skip to content

Commit

Permalink
Fix automated action test steemit#2738
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Oct 7, 2019
1 parent 8cf38df commit 1da1e75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion libraries/plugins/witness/block_producer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ FC_TODO( "Remove ifdef when required actions are added" )

for( const auto* o : attempted_actions )
{
idump( (*o) );
_db.remove( *o );
}

Expand Down
2 changes: 1 addition & 1 deletion tests/tests/automated_action_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ BOOST_AUTO_TEST_CASE( full_block )

// In a full block scenario, there would be no optional actions included nor the last required action
// Clear optional actions and the last required action and resign.
block.extensions.erase( *block.extensions.end() );
block.extensions.erase( *block.extensions.rbegin() );
block.extensions.begin()->get< required_automated_actions >().pop_back();
block.sign( STEEM_INIT_PRIVATE_KEY );

Expand Down

0 comments on commit 1da1e75

Please sign in to comment.