Skip to content

Commit a45b0f4

Browse files
committed
fix: app register template hash mismatch error message
1 parent d567b01 commit a45b0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cartesi-rollups-cli/root/app/register/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func run(cmd *cobra.Command, args []string) {
148148
snapshotTemplateHash := common.HexToHash(templateHash)
149149
if parsedTemplateHash != snapshotTemplateHash {
150150
fmt.Fprintf(os.Stderr, "Template hash mismatch: contract has %s but machine has %s\n",
151-
contractTemplateHash.Hex(), parsedTemplateHash.Hex())
151+
parsedTemplateHash.Hex(), snapshotTemplateHash.Hex())
152152
os.Exit(1)
153153
}
154154
}

0 commit comments

Comments
 (0)