#170 Make sure TEMP ACCOUNT cannot be updated
This commit is contained in:
parent
62009315e2
commit
a55b348e6c
1 changed files with 1 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ share_type account_update_operation::calculate_fee( const fee_parameters_type& k
|
|||
|
||||
void account_update_operation::validate()const
|
||||
{
|
||||
FC_ASSERT( account != GRAPHENE_TEMP_ACCOUNT );
|
||||
FC_ASSERT( fee.amount >= 0 );
|
||||
FC_ASSERT( account != account_id_type() );
|
||||
FC_ASSERT( owner || active || new_options );
|
||||
|
|
|
|||
Loading…
Reference in a new issue