Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Dec 31, 2024
1 parent 683d15a commit 6f02966
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion proto/realionetwork/bridge/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ message MsgBridgeIn {
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"
];
string reciever = 3;
string receiver = 3;
}

message MsgBridgeInResponse {}
Expand Down
2 changes: 1 addition & 1 deletion x/bridge/keeper/msg_server_bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (ms msgServer) BridgeIn(goCtx context.Context, msg *types.MsgBridgeIn) (*ty
}

addrCodec := ms.authKeeper.AddressCodec()
accAddr, err := addrCodec.StringToBytes(msg.Reciever)
accAddr, err := addrCodec.StringToBytes(msg.Receiver)
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion x/bridge/keeper/msg_server_bridge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (suite *KeeperTestSuite) TestBridgeIn() {

if tc.setAuthority {
tc.msg.Authority = suite.admin
tc.msg.Reciever = suite.admin
tc.msg.Receiver = suite.admin
}

addr, err := suite.app.AccountKeeper.AddressCodec().StringToBytes(tc.msg.Authority)
Expand Down
24 changes: 12 additions & 12 deletions x/bridge/types/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f02966

Please sign in to comment.