update GPOS HF to fall in before SONS HF, remove check
This commit is contained in:
parent
8a90e70f12
commit
1d66b859c9
2 changed files with 2 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// GPOS HARDFORK Monday, 16 March 2020 19:00:00 GMT
|
||||
// GPOS HARDFORK Monday, 31 Dec 2019 00:00:00 GMT
|
||||
#ifndef HARDFORK_GPOS_TIME
|
||||
#define HARDFORK_GPOS_TIME (fc::time_point_sec( 1584385200 ))
|
||||
#define HARDFORK_GPOS_TIME (fc::time_point_sec( 1577750400 ))
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -42,9 +42,6 @@ void_result vesting_balance_create_evaluator::do_evaluate( const vesting_balance
|
|||
FC_ASSERT( d.get_balance( creator_account.id, op.amount.asset_id ) >= op.amount );
|
||||
FC_ASSERT( !op.amount.asset_id(d).is_transfer_restricted() );
|
||||
|
||||
if(d.head_block_time() < HARDFORK_SON_TIME) // Todo: can be removed after gpos hf time pass
|
||||
FC_ASSERT( op.balance_type == vesting_balance_type::normal);
|
||||
|
||||
if(d.head_block_time() >= HARDFORK_SON_TIME && op.balance_type == vesting_balance_type::son) // Todo: hf check can be removed after pass
|
||||
FC_ASSERT( op.amount.amount >= d.get_global_properties().parameters.son_vesting_amount() );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue