Skip to content

Commit

Permalink
Merge pull request #556 from OffchainLabs/fix-module-check
Browse files Browse the repository at this point in the history
Fix wasm module check for validator
  • Loading branch information
PlasmaPower authored Apr 28, 2022
2 parents f7c1601 + c2e38f6 commit b33dcd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/nitro_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (l *NitroMachineLoader) createMachineImpl(moduleRoot common.Hash, untilHost
return nil, err
}
} else {
_, err := os.Stat(filepath.Join(l.config.getMachinePath(moduleRoot), l.config.ProverBinPath))
_, err := os.Stat(filepath.Join(l.config.getMachinePath(moduleRoot), l.config.WavmBinaryPath))
if errors.Is(err, os.ErrNotExist) {
// Attempt to load the latest module root instead (maybe it's what we're looking for).
originalErr := err
Expand Down

0 comments on commit b33dcd6

Please sign in to comment.