fix for lottery end

This commit is contained in:
gladcow 2019-10-02 13:55:32 +03:00
parent 791e69dd77
commit e3d3f84c23

View file

@ -274,6 +274,17 @@ struct get_impacted_account_visitor
{
_impacted.insert( op.buyer );
}
void operator()( const lottery_reward_operation& op ) {
_impacted.insert( op.winner );
}
void operator()( const lottery_end_operation& op ) {
for( auto participant : op.participants ) {
_impacted.insert(participant.first);
}
}
void operator()( const sweeps_vesting_claim_operation& op ) {
_impacted.insert( op.account );
}
};
void operation_get_impacted_accounts( const operation& op, flat_set<account_id_type>& result )