Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Jun 17, 2024
1 parent d65b3e1 commit 708d545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (pc ProverConfig) Validate() error {
return fmt.Errorf("MessageAggregationBatchSize must be greater than 1 if MessageAggregation is true and MessageAggregationBatchSize is set")
}
if l := len(pc.Operators); l > 1 {
return fmt.Errorf("Operators: greater than 1 operator is not supported yet")
return fmt.Errorf("Operators: currently only one or zero(=permissionless) operator is supported, but got %v", l)
}
if pc.OperatorsEip712Params != nil {
if len(pc.OperatorPrivateKey) == 0 {
Expand Down

0 comments on commit 708d545

Please sign in to comment.