Commit 895f0b95 authored by Emiliano Bonassi's avatar Emiliano Bonassi Committed by GitHub

fix(op-node): plasma validation config missing commitment type for legacy config (#11054)

parent 39bd919d
......@@ -335,6 +335,7 @@ func validatePlasmaConfig(cfg *Config) error {
DAChallengeAddress: cfg.LegacyDAChallengeAddress,
DAChallengeWindow: cfg.LegacyDAChallengeWindow,
DAResolveWindow: cfg.LegacyDAResolveWindow,
CommitmentType: plasma.KeccakCommitmentString,
}
} else if cfg.LegacyUsePlasma && cfg.PlasmaConfig != nil {
// validate that both are the same
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment