Skip to content

Commit b33dcd6

Browse files
authored
Merge pull request #556 from OffchainLabs/fix-module-check
Fix wasm module check for validator
2 parents f7c1601 + c2e38f6 commit b33dcd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator/nitro_machine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func (l *NitroMachineLoader) createMachineImpl(moduleRoot common.Hash, untilHost
200200
return nil, err
201201
}
202202
} else {
203-
_, err := os.Stat(filepath.Join(l.config.getMachinePath(moduleRoot), l.config.ProverBinPath))
203+
_, err := os.Stat(filepath.Join(l.config.getMachinePath(moduleRoot), l.config.WavmBinaryPath))
204204
if errors.Is(err, os.ErrNotExist) {
205205
// Attempt to load the latest module root instead (maybe it's what we're looking for).
206206
originalErr := err

0 commit comments

Comments
 (0)