Skip to content

Commit

Permalink
change checksum func
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-cha committed Oct 31, 2024
1 parent 0d8f917 commit e402a02
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x/move/types/checksum.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package types

import (
"crypto/sha256"
)
import "golang.org/x/crypto/sha3"

func ModuleBzToChecksum(moduleBz []byte) [32]byte {
return sha256.Sum256(moduleBz)
return sha3.Sum256(moduleBz)
}

0 comments on commit e402a02

Please sign in to comment.