docs: correct spelling errors across multiple packages (#25002)
This commit is contained in:
@@ -15,7 +15,7 @@ func (privKey *PrivKey) Sign(msg []byte) ([]byte, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// we do not need v in r||s||v:
|
||||
// we do not need v in r||s||v:
|
||||
rs := rsv[:len(rsv)-1]
|
||||
return rs, nil
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ func (m *PrivKey) Type() string {
|
||||
return name
|
||||
}
|
||||
|
||||
// Sign hashes and signs the message usign ECDSA. Implements sdk.PrivKey interface.
|
||||
// Sign hashes and signs the message using ECDSA. Implements sdk.PrivKey interface.
|
||||
func (m *PrivKey) Sign(msg []byte) ([]byte, error) {
|
||||
return m.Secret.Sign(msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user