Skip to content

Commit

Permalink
chore: fix some function names (#20365)
Browse files Browse the repository at this point in the history
Signed-off-by: gopherorg <gopherworld@icloud.com>
  • Loading branch information
gopherorg committed May 13, 2024
1 parent 8d1946c commit d90f552
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion types/msgservice/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
//
Expand Down
2 changes: 1 addition & 1 deletion types/tx/direct_aux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion x/auth/keeper/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d90f552

Please sign in to comment.