handle byte conversion

This commit is contained in:
Lucia 2025-11-02 15:44:10 +13:00
parent 18a902799e
commit 58b4376f84

View file

@ -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...))
}