remove default value for extension parameter
This commit is contained in:
parent
fd23d149d6
commit
0b2c9dde22
3 changed files with 4 additions and 1 deletions
|
|
@ -261,6 +261,8 @@ void_result account_update_evaluator::do_evaluate( const account_update_operatio
|
|||
FC_ASSERT( !o.extensions.value.owner_special_authority.valid() );
|
||||
FC_ASSERT( !o.extensions.value.active_special_authority.valid() );
|
||||
}
|
||||
if( d.head_block_time() < HARDFORK_GPOS_TIME )
|
||||
FC_ASSERT( !o.extensions.value.update_last_voting_time.valid() );
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ namespace graphene { namespace chain {
|
|||
optional< void_t > null_ext;
|
||||
optional< special_authority > owner_special_authority;
|
||||
optional< special_authority > active_special_authority;
|
||||
optional< bool > update_last_voting_time = false;
|
||||
optional< bool > update_last_voting_time;
|
||||
};
|
||||
|
||||
struct fee_parameters_type
|
||||
|
|
|
|||
|
|
@ -274,6 +274,7 @@ void account_update_operation::validate()const
|
|||
|| new_options.valid()
|
||||
|| extensions.value.owner_special_authority.valid()
|
||||
|| extensions.value.active_special_authority.valid()
|
||||
|| extensions.value.update_last_voting_time.valid()
|
||||
);
|
||||
|
||||
FC_ASSERT( has_action );
|
||||
|
|
|
|||
Loading…
Reference in a new issue