From 58b4376f84ead83db49bf92d74137df8386b67a9 Mon Sep 17 00:00:00 2001 From: Lucia Date: Sun, 2 Nov 2025 15:44:10 +1300 Subject: [PATCH] handle byte conversion --- crypto/keccak_ziren.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/keccak_ziren.go b/crypto/keccak_ziren.go index 8e967c6dbf..567dd76eb9 100644 --- a/crypto/keccak_ziren.go +++ b/crypto/keccak_ziren.go @@ -118,5 +118,5 @@ func Keccak256(data ...[]byte) []byte { // Keccak256Hash calculates and returns the Keccak256 hash as a Hash using the Ziren zkvm_runtime implementation. func Keccak256Hash(data ...[]byte) common.Hash { - return common.Hash(Keccak256(data...)) + return common.BytesToHash(Keccak256(data...)) }