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
|
|
@ -36,6 +36,11 @@ namespace graphene { namespace chain {
|
|||
"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)
|
||||
{
|
||||
FC_ASSERT(!op.options.start_delay, "Cannot specify both a fixed start time and a delay");
|
||||
|
|
|
|||
Loading…
Reference in a new issue