Skip to content

Commit

Permalink
Revert vote upvate_manabar refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Jun 12, 2019
1 parent b8735c5 commit 200623c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/chain/steem_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,8 @@ void hf20_vote_evaluator( const vote_operation& o, database& _db )

_db.modify( voter, [&]( account_object& a )
{
util::update_manabar( _db.get_dynamic_global_properties(), a, _db.has_hardfork( STEEM_HARDFORK_0_21__3336 ) );
util::manabar_params params( util::get_effective_vesting_shares( a ), STEEM_VOTING_MANA_REGENERATION_SECONDS );
a.voting_manabar.regenerate_mana( params, now );
});

if ( _db.has_hardfork( STEEM_HARDFORK_0_21__3004 ) )
Expand Down

0 comments on commit 200623c

Please sign in to comment.