fix aggregatorAccount.verifyConfig
This commit is contained in:
parent
3ce5268562
commit
ddfc5a42b2
|
@ -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})`
|
||||
|
|
Loading…
Reference in New Issue