From 1b545a571f379a472a7d53d768cd856b82b2ee9b Mon Sep 17 00:00:00 2001 From: Cosmos SDK <113218068+github-prbot@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:27:11 +0100 Subject: [PATCH] chore: fix spelling errors (#19756) Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Co-authored-by: Julien Robert --- .../accounts/defaults/lockup/tx.pulsar.go | 58 +++++------ x/accounts/defaults/lockup/lockup.go | 2 +- x/accounts/defaults/lockup/types/tx.pb.go | 96 +++++++++---------- .../cosmos/accounts/defaults/lockup/tx.proto | 2 +- 4 files changed, 79 insertions(+), 79 deletions(-) diff --git a/api/cosmos/accounts/defaults/lockup/tx.pulsar.go b/api/cosmos/accounts/defaults/lockup/tx.pulsar.go index 816b0b7ace7f..082db8883c5a 100644 --- a/api/cosmos/accounts/defaults/lockup/tx.pulsar.go +++ b/api/cosmos/accounts/defaults/lockup/tx.pulsar.go @@ -4849,14 +4849,14 @@ func (x *_MsgWithdrawResponse_2_list) IsValid() bool { var ( md_MsgWithdrawResponse protoreflect.MessageDescriptor - fd_MsgWithdrawResponse_reciever protoreflect.FieldDescriptor + fd_MsgWithdrawResponse_receiver protoreflect.FieldDescriptor fd_MsgWithdrawResponse_amount_received protoreflect.FieldDescriptor ) func init() { file_cosmos_accounts_defaults_lockup_tx_proto_init() md_MsgWithdrawResponse = File_cosmos_accounts_defaults_lockup_tx_proto.Messages().ByName("MsgWithdrawResponse") - fd_MsgWithdrawResponse_reciever = md_MsgWithdrawResponse.Fields().ByName("reciever") + fd_MsgWithdrawResponse_receiver = md_MsgWithdrawResponse.Fields().ByName("receiver") fd_MsgWithdrawResponse_amount_received = md_MsgWithdrawResponse.Fields().ByName("amount_received") } @@ -4925,9 +4925,9 @@ func (x *fastReflection_MsgWithdrawResponse) Interface() protoreflect.ProtoMessa // While iterating, mutating operations may only be performed // on the current field descriptor. func (x *fastReflection_MsgWithdrawResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Reciever != "" { - value := protoreflect.ValueOfString(x.Reciever) - if !f(fd_MsgWithdrawResponse_reciever, value) { + if x.Receiver != "" { + value := protoreflect.ValueOfString(x.Receiver) + if !f(fd_MsgWithdrawResponse_receiver, value) { return } } @@ -4952,8 +4952,8 @@ func (x *fastReflection_MsgWithdrawResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgWithdrawResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.reciever": - return x.Reciever != "" + case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.receiver": + return x.Receiver != "" case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.amount_received": return len(x.AmountReceived) != 0 default: @@ -4972,8 +4972,8 @@ func (x *fastReflection_MsgWithdrawResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgWithdrawResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.reciever": - x.Reciever = "" + case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.receiver": + x.Receiver = "" case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.amount_received": x.AmountReceived = nil default: @@ -4992,8 +4992,8 @@ func (x *fastReflection_MsgWithdrawResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgWithdrawResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.reciever": - value := x.Reciever + case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.receiver": + value := x.Receiver return protoreflect.ValueOfString(value) case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.amount_received": if len(x.AmountReceived) == 0 { @@ -5021,8 +5021,8 @@ func (x *fastReflection_MsgWithdrawResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgWithdrawResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.reciever": - x.Reciever = value.Interface().(string) + case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.receiver": + x.Receiver = value.Interface().(string) case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.amount_received": lv := value.List() clv := lv.(*_MsgWithdrawResponse_2_list) @@ -5053,8 +5053,8 @@ func (x *fastReflection_MsgWithdrawResponse) Mutable(fd protoreflect.FieldDescri } value := &_MsgWithdrawResponse_2_list{list: &x.AmountReceived} return protoreflect.ValueOfList(value) - case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.reciever": - panic(fmt.Errorf("field reciever of message cosmos.accounts.defaults.lockup.MsgWithdrawResponse is not mutable")) + case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.receiver": + panic(fmt.Errorf("field receiver of message cosmos.accounts.defaults.lockup.MsgWithdrawResponse is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.accounts.defaults.lockup.MsgWithdrawResponse")) @@ -5068,7 +5068,7 @@ func (x *fastReflection_MsgWithdrawResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgWithdrawResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.reciever": + case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.receiver": return protoreflect.ValueOfString("") case "cosmos.accounts.defaults.lockup.MsgWithdrawResponse.amount_received": list := []*v1beta1.Coin{} @@ -5142,7 +5142,7 @@ func (x *fastReflection_MsgWithdrawResponse) ProtoMethods() *protoiface.Methods var n int var l int _ = l - l = len(x.Reciever) + l = len(x.Receiver) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -5197,10 +5197,10 @@ func (x *fastReflection_MsgWithdrawResponse) ProtoMethods() *protoiface.Methods dAtA[i] = 0x12 } } - if len(x.Reciever) > 0 { - i -= len(x.Reciever) - copy(dAtA[i:], x.Reciever) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reciever))) + if len(x.Receiver) > 0 { + i -= len(x.Receiver) + copy(dAtA[i:], x.Receiver) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Receiver))) i-- dAtA[i] = 0xa } @@ -5255,7 +5255,7 @@ func (x *fastReflection_MsgWithdrawResponse) ProtoMethods() *protoiface.Methods switch fieldNum { case 1: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reciever", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5283,7 +5283,7 @@ func (x *fastReflection_MsgWithdrawResponse) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Reciever = string(dAtA[iNdEx:postIndex]) + x.Receiver = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5785,7 +5785,7 @@ type MsgWithdrawResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Reciever string `protobuf:"bytes,1,opt,name=reciever,proto3" json:"reciever,omitempty"` + Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` AmountReceived []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount_received,json=amountReceived,proto3" json:"amount_received,omitempty"` } @@ -5809,9 +5809,9 @@ func (*MsgWithdrawResponse) Descriptor() ([]byte, []int) { return file_cosmos_accounts_defaults_lockup_tx_proto_rawDescGZIP(), []int{9} } -func (x *MsgWithdrawResponse) GetReciever() string { +func (x *MsgWithdrawResponse) GetReceiver() string { if x != nil { - return x.Reciever + return x.Receiver } return "" } @@ -5947,10 +5947,10 @@ var file_cosmos_accounts_defaults_lockup_tx_proto_rawDesc = []byte{ 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x3a, 0x17, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x22, 0xd8, 0x01, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x69, - 0x65, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x72, 0x65, 0x63, 0x69, 0x65, 0x76, 0x65, 0x72, 0x12, 0x8a, + 0x72, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, diff --git a/x/accounts/defaults/lockup/lockup.go b/x/accounts/defaults/lockup/lockup.go index 04b2ba28b792..d24f3ff46d80 100644 --- a/x/accounts/defaults/lockup/lockup.go +++ b/x/accounts/defaults/lockup/lockup.go @@ -311,7 +311,7 @@ func (bva *BaseLockup) WithdrawUnlockedCoins( } return &lockuptypes.MsgWithdrawResponse{ - Reciever: msg.ToAddress, + Receiver: msg.ToAddress, AmountReceived: amount, }, nil } diff --git a/x/accounts/defaults/lockup/types/tx.pb.go b/x/accounts/defaults/lockup/types/tx.pb.go index d59ce718ea31..6d394bd0631c 100644 --- a/x/accounts/defaults/lockup/types/tx.pb.go +++ b/x/accounts/defaults/lockup/types/tx.pb.go @@ -446,7 +446,7 @@ var xxx_messageInfo_MsgWithdraw proto.InternalMessageInfo // MsgWithdrawResponse defines the response for MsgWithdraw type MsgWithdrawResponse struct { - Reciever string `protobuf:"bytes,1,opt,name=reciever,proto3" json:"reciever,omitempty"` + Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` AmountReceived github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount_received,json=amountReceived,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount_received"` } @@ -483,9 +483,9 @@ func (m *MsgWithdrawResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgWithdrawResponse proto.InternalMessageInfo -func (m *MsgWithdrawResponse) GetReciever() string { +func (m *MsgWithdrawResponse) GetReceiver() string { if m != nil { - return m.Reciever + return m.Receiver } return "" } @@ -515,57 +515,57 @@ func init() { } var fileDescriptor_e5f39108a4d67f92 = []byte{ - // 800 bytes of a gzipped FileDescriptorProto + // 797 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0x3d, 0x4f, 0x1b, 0x49, 0x18, 0xf6, 0xda, 0x3a, 0x83, 0x87, 0x03, 0x8e, 0xc5, 0x3a, 0x8c, 0x75, 0xec, 0x72, 0x96, 0x10, 0x96, 0x75, 0xde, 0x3d, 0xb8, 0x93, 0xee, 0x64, 0x5d, 0x83, 0x8f, 0x7c, 0x49, 0x71, 0x84, 0x4c, - 0x3e, 0xa4, 0xa4, 0xb0, 0xd6, 0xbb, 0xc3, 0x32, 0xc2, 0x3b, 0x63, 0xed, 0x8c, 0x0d, 0xee, 0xa2, + 0x3e, 0xa4, 0xa4, 0xb0, 0xd6, 0xbb, 0xc3, 0xb0, 0xc2, 0x3b, 0x63, 0xed, 0x8c, 0x0d, 0xee, 0xa2, 0x28, 0x45, 0x44, 0x45, 0x9d, 0x8a, 0x2a, 0x8a, 0x52, 0x39, 0x12, 0x3f, 0x82, 0x12, 0x51, 0x51, 0x85, 0xc8, 0x44, 0x32, 0x3f, 0x23, 0x9a, 0x9d, 0x59, 0x62, 0x3e, 0x02, 0x8e, 0x8b, 0x14, 0x69, 0xbc, 0x33, 0xf3, 0x3e, 0xef, 0xfb, 0x3e, 0xcf, 0x33, 0x1f, 0x32, 0xc8, 0xda, 0x84, 0x7a, 0x84, 0x9a, 0x96, 0x6d, 0x93, 0x06, 0x66, 0xd4, 0x74, 0xe0, 0x9a, 0xd5, 0xa8, 0x31, 0x6a, 0xd6, 0x88, 0xbd, 0xd1, 0xa8, 0x9b, 0x6c, 0xcb, 0xa8, 0xfb, 0x84, 0x11, 0x55, 0x17, 0x48, 0x23, 0x44, 0x1a, - 0x21, 0xd2, 0x10, 0xc8, 0xf4, 0x84, 0xe5, 0x21, 0x4c, 0xcc, 0xe0, 0x57, 0xe4, 0xa4, 0x35, 0x59, - 0xbd, 0x6a, 0x51, 0x68, 0x36, 0x17, 0xaa, 0x90, 0x59, 0x0b, 0xa6, 0x4d, 0x10, 0x96, 0xf1, 0x3f, - 0x6e, 0xea, 0x2e, 0x3e, 0x12, 0x3d, 0x25, 0xd1, 0x1e, 0x75, 0xcd, 0xe6, 0x02, 0xff, 0xc8, 0xc0, - 0xb4, 0x08, 0x54, 0x82, 0x99, 0x29, 0x79, 0x8a, 0x50, 0xd2, 0x25, 0x2e, 0x11, 0xeb, 0x7c, 0x14, - 0x26, 0xb8, 0x84, 0xb8, 0x35, 0x68, 0x06, 0xb3, 0x6a, 0x63, 0xcd, 0xb4, 0x70, 0x4b, 0x86, 0xf4, - 0x8b, 0x21, 0x86, 0x3c, 0x48, 0x99, 0xe5, 0x49, 0x16, 0x99, 0xe7, 0x51, 0x90, 0x2c, 0x51, 0xf7, - 0x1e, 0x46, 0xec, 0x7e, 0xc0, 0x6e, 0x49, 0x90, 0x57, 0x0d, 0xf0, 0x13, 0xd9, 0xc4, 0xd0, 0x4f, - 0x29, 0xb3, 0x4a, 0x36, 0x51, 0x4c, 0x1d, 0xee, 0xe5, 0x93, 0x92, 0xcb, 0x92, 0xe3, 0xf8, 0x90, - 0xd2, 0x55, 0xe6, 0x23, 0xec, 0x96, 0x05, 0x4c, 0x5d, 0x06, 0xc3, 0x10, 0x3b, 0x15, 0x5e, 0x3f, - 0x15, 0x9d, 0x55, 0xb2, 0x23, 0x8b, 0x69, 0x43, 0x34, 0x37, 0xc2, 0xe6, 0xc6, 0xc3, 0xb0, 0x79, - 0x71, 0x74, 0xff, 0x83, 0x1e, 0xd9, 0x39, 0xd6, 0x95, 0xb7, 0xdd, 0x76, 0x4e, 0x29, 0x0f, 0x41, - 0xec, 0xf0, 0xa0, 0x7a, 0x17, 0x00, 0xca, 0x2c, 0x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+ 0x74, 0x95, 0xf9, 0x2e, 0x46, 0x65, 0x01, 0x53, 0x97, 0xc1, 0x30, 0xc4, 0x4e, 0x85, 0xd7, 0x4f, + 0x45, 0x67, 0x95, 0xec, 0xc8, 0x62, 0xda, 0x10, 0xcd, 0x8d, 0xb0, 0xb9, 0xf1, 0x30, 0x6c, 0x5e, + 0x1c, 0xdd, 0xff, 0xa0, 0x47, 0x76, 0x8e, 0x75, 0xe5, 0x6d, 0xb7, 0x9d, 0x53, 0xca, 0x43, 0x10, + 0x3b, 0x3c, 0xa8, 0xde, 0x05, 0x80, 0x32, 0xcb, 0x67, 0xa2, 0x4e, 0xec, 0x5b, 0xeb, 0x24, 0x82, + 0x64, 0x1e, 0x2e, 0x64, 0x4f, 0x77, 0x75, 0x65, 0xbb, 0xdb, 0xce, 0xc9, 0x9d, 0xce, 0x53, 0x67, + 0xc3, 0xbc, 0x4a, 0x69, 0x46, 0x03, 0xbf, 0x5d, 0xb5, 0x5e, 0x86, 0xb4, 0x4e, 0x30, 0x85, 0x99, + 0x37, 0x51, 0x30, 0x23, 0x01, 0x2b, 0xd0, 0x77, 0x89, 0xe3, 0xda, 0x1c, 0xe8, 0x62, 0x34, 0xa8, 0x57, 0xe7, 0x55, 0x46, 0x07, 0x57, 0xa9, 0x3e, 0x03, 0xe3, 0x35, 0xc1, 0xa5, 0x52, 0x0f, 0xb8, 0xd1, 0x54, 0x6c, 0x36, 0x96, 0x1d, 0x59, 0x9c, 0x37, 0x6e, 0x38, 0xe0, 0x86, 0xd0, 0x52, 0x4c, 0xf0, 0xda, 0xa2, 0xee, 0x98, 0x2c, 0x25, 0x22, 0xb4, 0x60, 0x9c, 0xee, 0xea, 0x11, 0x6e, 0xe1, 0xdc, 0x65, 0x0b, 0x05, 0xe6, 0xbc, 0x91, 0xf3, 0x60, 0xee, 0x5a, 0x9f, 0xce, 0x1c, 0xed, 0x28, - 0x60, 0xa4, 0x44, 0xdd, 0x65, 0x58, 0x83, 0xae, 0xc5, 0xa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d, 0xaa, 0xff, 0x02, + 0xb0, 0x29, 0xc7, 0x7d, 0x18, 0xdc, 0x83, 0x1d, 0xdc, 0xe4, 0x5f, 0x41, 0xdc, 0x81, 0x98, 0x78, + 0xe2, 0x51, 0x49, 0x94, 0xe5, 0xac, 0x30, 0xd5, 0xeb, 0x40, 0x4f, 0xa7, 0xcc, 0x91, 0x02, 0x26, + 0x7b, 0x38, 0x9f, 0xe9, 0xff, 0x1b, 0x0c, 0xfb, 0xd0, 0x86, 0x6e, 0xb3, 0x0f, 0xe6, 0x67, 0x48, + 0x75, 0x5b, 0x01, 0xe3, 0xc2, 0xf3, 0x8a, 0x5c, 0x73, 0x52, 0xd1, 0xef, 0xb5, 0xdb, 0x63, 0xa2, + 0x73, 0x59, 0x36, 0x2e, 0xde, 0xd9, 0xef, 0x68, 0xca, 0x41, 0x47, 0x53, 0x3e, 0x76, 0x34, 0x65, + 0xe7, 0x44, 0x8b, 0x1c, 0x9c, 0x68, 0x91, 0xa3, 0x13, 0x2d, 0xf2, 0x34, 0x2f, 0xea, 0x52, 0x67, + 0xc3, 0x70, 0x89, 0xb9, 0x75, 0xcd, 0x9f, 0x0f, 0xde, 0xb4, 0x1a, 0x0f, 0x36, 0xfc, 0xaf, 0xcf, + 0x01, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xd7, 0x1d, 0x22, 0xac, 0x08, 0x00, 0x00, } func (this *MsgInitLockupAccount) Equal(that interface{}) bool { @@ -1004,10 +1004,10 @@ func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x12 } } - if len(m.Reciever) > 0 { - i -= len(m.Reciever) - copy(dAtA[i:], m.Reciever) - i = encodeVarintTx(dAtA, i, uint64(len(m.Reciever))) + if len(m.Receiver) > 0 { + i -= len(m.Receiver) + copy(dAtA[i:], m.Receiver) + i = encodeVarintTx(dAtA, i, uint64(len(m.Receiver))) i-- dAtA[i] = 0xa } @@ -1186,7 +1186,7 @@ func (m *MsgWithdrawResponse) Size() (n int) { } var l int _ = l - l = len(m.Reciever) + l = len(m.Receiver) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -2305,7 +2305,7 @@ func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reciever", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2333,7 +2333,7 @@ func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Reciever = string(dAtA[iNdEx:postIndex]) + m.Receiver = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { diff --git a/x/accounts/proto/cosmos/accounts/defaults/lockup/tx.proto b/x/accounts/proto/cosmos/accounts/defaults/lockup/tx.proto index 3b105c3575ab..a0a6e1a07aea 100644 --- a/x/accounts/proto/cosmos/accounts/defaults/lockup/tx.proto +++ b/x/accounts/proto/cosmos/accounts/defaults/lockup/tx.proto @@ -116,7 +116,7 @@ message MsgWithdraw { // MsgWithdrawResponse defines the response for MsgWithdraw message MsgWithdrawResponse { - string reciever = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string receiver = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; repeated cosmos.base.v1beta1.Coin amount_received = 2 [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true,