Fixed flag issue

This commit is contained in:
Sandip Patel 2019-10-31 19:01:50 +05:30
parent e7f65c6760
commit fd8659caaf

View file

@ -287,7 +287,7 @@ void_result account_update_evaluator::do_apply( const account_update_operation&
fc::optional< bool > flag = o.extensions.value.update_last_voting_time;
if((o.new_options->votes != acnt->options.votes ||
o.new_options->voting_account != acnt->options.voting_account) ||
flag)
(flag.valid() && *flag))
aso.last_vote_time = d.head_block_time();
} );
}