We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a9027 commit 58b4376Copy full SHA for 58b4376
crypto/keccak_ziren.go
@@ -118,5 +118,5 @@ func Keccak256(data ...[]byte) []byte {
118
119
// Keccak256Hash calculates and returns the Keccak256 hash as a Hash using the Ziren zkvm_runtime implementation.
120
func Keccak256Hash(data ...[]byte) common.Hash {
121
- return common.Hash(Keccak256(data...))
+ return common.BytesToHash(Keccak256(data...))
122
}
0 commit comments