Fix redundant type converstion (#13076)

* Fix redundant type converstion

* Revert generated changes

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terencechain
2023-10-20 08:07:10 -07:00
committed by GitHub
parent 88e1b9edb3
commit 823f8ee3a2
14 changed files with 21 additions and 23 deletions

View File

@@ -704,7 +704,7 @@ func NewInvalidSignatureSet(t *testing.T, msgBody string, num int, throwErr bool
func messageBytes(message string) [32]byte {
var bytes [32]byte
copy(bytes[:], []byte(message))
copy(bytes[:], message)
return bytes
}