Skip to content

Commit

Permalink
Update op-chain-ops/genesis/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
trianglesphere and coderabbitai[bot] committed May 23, 2024
1 parent 46e20f3 commit 8b692b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-chain-ops/genesis/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ func (d *DeployConfig) Check() error {
return fmt.Errorf("%w: DAResolveWindow cannot be 0 when using plasma mode", ErrInvalidDeployConfig)
}
if !(d.DACommitmentType == plasma.KeccakCommitmentString || d.DACommitmentType == plasma.GenericCommitmentString) {
return fmt.Errorf("%w: DACommitmentType must be either KeccakCommtiment or GenericCommitment", ErrInvalidDeployConfig)
return fmt.Errorf("%w: DACommitmentType must be either 'KeccakCommitment' or 'GenericCommitment'", ErrInvalidDeployConfig)
}
}
if d.UseCustomGasToken {
Expand Down

0 comments on commit 8b692b3

Please sign in to comment.