Skip to content

Commit 2977eb4

Browse files
authored
Merge branch 'master' into relyt-live-tracing
2 parents 70b3b51 + 7656a78 commit 2977eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/nitro/nitro.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ func checkWasmModuleRootCompatibility(ctx context.Context, wasmConfig valnode.Wa
11061106
for _, root := range allowedWasmModuleRoots {
11071107
bytes, err := hex.DecodeString(strings.TrimPrefix(root, "0x"))
11081108
if err == nil {
1109-
if common.HexToHash(root) == common.BytesToHash(bytes) {
1109+
if common.BytesToHash(bytes) == moduleRoot {
11101110
moduleRootMatched = true
11111111
break
11121112
}

0 commit comments

Comments
 (0)