fix aggregatorAccount.verifyConfig

This commit is contained in:
Jackson Jessup 2022-12-07 12:36:31 -05:00
parent 3ce5268562
commit ddfc5a42b2
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ export class AggregatorAccount extends Account<types.AggregatorAccountData> {
);
}
if (endState.minJobResults < aggregator.jobPubkeysSize) {
if (endState.minJobResults > aggregator.jobPubkeysSize) {
throw new errors.AggregatorConfigError(
'minJobResults',
`must be less than the number of jobs (${aggregator.jobPubkeysSize})`