Skip to content

Commit

Permalink
No-op delegate_to_pool custom op until hardfork #2705
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Aug 1, 2019
1 parent 5ccfb9c commit 2042eee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/plugins/rc/rc_operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ void delegate_to_pool_operation::validate()const

void delegate_to_pool_evaluator::do_apply( const delegate_to_pool_operation& op )
{
if( !_db.has_hardfork( STEEM_SMT_HARDFORK ) ) return;

const dynamic_global_property_object& gpo = _db.get_dynamic_global_properties();
uint32_t now = gpo.time.sec_since_epoch();
const rc_account_object& from_rc_account = _db.get< rc_account_object, by_name >( op.from_account );
Expand Down

0 comments on commit 2042eee

Please sign in to comment.