mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
handle byte conversion
This commit is contained in:
parent
18a902799e
commit
58b4376f84
1 changed files with 1 additions and 1 deletions
|
|
@ -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...))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue