style: gofumpt linting (#15605)

This commit is contained in:
Marko
2023-03-30 06:27:38 +00:00
committed by GitHub
parent 24344fb382
commit 1f2875d445
56 changed files with 97 additions and 97 deletions
+1 -1
View File
@@ -22,6 +22,6 @@ func (privKey *PrivKey) Sign(msg []byte) ([]byte, error) {
// VerifySignature validates the signature.
// The msg will be hashed prior to signature verification.
func (pubKey *PubKey) VerifySignature(msg []byte, sigStr []byte) bool {
func (pubKey *PubKey) VerifySignature(msg, sigStr []byte) bool {
return secp256k1.VerifySignature(pubKey.Bytes(), crypto.Sha256(msg), sigStr)
}