chore: fix some function names (#20365)

Signed-off-by: gopherorg <gopherworld@icloud.com>
This commit is contained in:
gopherorg 2024-05-13 20:15:04 +08:00 committed by GitHub
parent 8d1946c9ec
commit d90f552f62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import (
"cosmossdk.io/x/tx/signing"
)
// ValidateAnnotations validates that the proto annotations are correct.
// ValidateProtoAnnotations validates that the proto annotations are correct.
// More specifically, it verifies:
// - all services named "Msg" have `(cosmos.msg.v1.service) = true`,
//

View File

@ -42,7 +42,7 @@ func (a *AuxSignerData) ValidateBasic() error {
return a.GetSignDoc().ValidateBasic()
}
// GetSignaturesV2 gets the SignatureV2 of the aux signer.
// GetSignatureV2 gets the SignatureV2 of the aux signer.
func (a *AuxSignerData) GetSignatureV2() (signing.SignatureV2, error) {
pk, ok := a.SignDoc.PublicKey.GetCachedValue().(cryptotypes.PubKey)
if !ok {

View File

@ -45,7 +45,7 @@ func (m Migrator) Migrate4To5(ctx context.Context) error {
return v5.Migrate(ctx, m.keeper.KVStoreService, m.keeper.AccountNumber)
}
// V45_SetAccount implements V45_SetAccount
// V45SetAccount implements V45_SetAccount
// set the account without map to accAddr to accNumber.
//
// NOTE: This is used for testing purposes only.