style: gofumpt linting (#15605)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user