Skip to content

Commit

Permalink
Merge pull request steemit#3613 from steemit/3611-claim-reward-balanc…
Browse files Browse the repository at this point in the history
…e2-hf-check

Disable claim_reward_balance2_operation until the SMT hardfork
  • Loading branch information
mvandeberg authored Feb 20, 2020
2 parents 581b1f2 + b6ed91d commit ff9b801
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/chain/steem_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3596,6 +3596,7 @@ void claim_reward_balance_evaluator::do_apply( const claim_reward_balance_operat

void claim_reward_balance2_evaluator::do_apply( const claim_reward_balance2_operation& op )
{
FC_ASSERT( _db.has_hardfork( STEEM_SMT_HARDFORK ), "claim_reward_balance2_operation is not enabled until hardfork ${hf}", ("hf", STEEM_SMT_HARDFORK) );
for( const asset& token : op.reward_tokens )
{
if( token.amount == 0 )
Expand Down

0 comments on commit ff9b801

Please sign in to comment.