chore: fix some function names (#20365)
Signed-off-by: gopherorg <gopherworld@icloud.com>
This commit is contained in:
parent
8d1946c9ec
commit
d90f552f62
@ -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`,
|
||||
//
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user