Verify all account ids on whitelist are valid accounts
This commit is contained in:
parent
a74e66dd24
commit
2b6be2a65e
1 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,11 @@ namespace graphene { namespace chain {
|
|||
FC_ASSERT(op.options.whitelist.size() < maximum_tournament_whitelist_length,
|
||||
"Whitelist must not be longer than ${maximum_tournament_whitelist_length}",
|
||||
("maximum_tournament_whitelist_length", maximum_tournament_whitelist_length));
|
||||
|
||||
for (const account_id_type& account_id : op.options.whitelist)
|
||||
{
|
||||
account_id(d);
|
||||
}
|
||||
|
||||
if (op.options.start_time)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue