Skip to content

Commit

Permalink
Check account creation fee instead of deprecated witness creation fee s…
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Vandeberg committed Sep 15, 2016
1 parent 204b335 commit 5b3ed4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/steem_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ void witness_update_evaluator::do_apply( const witness_update_operation& o )

if ( db().has_hardfork( STEEMIT_HARDFORK_0_14__410 ) )
{
FC_ASSERT( o.fee.symbol == STEEM_SYMBOL );
FC_ASSERT( o.props.account_creation_fee.symbol == STEEM_SYMBOL );
}
else if( o.fee.symbol != STEEM_SYMBOL )
else if( o.props.account_creation_fee.symbol != STEEM_SYMBOL )
{
// after HF, above check can be moved to validate() if reindex doesn't show this warning
wlog( "Wrong fee symbol in block ${b}", ("b", db().head_block_num()+1) );
Expand Down

0 comments on commit 5b3ed4e

Please sign in to comment.