Skip to content

Commit

Permalink
fix cli
Browse files Browse the repository at this point in the history
  • Loading branch information
catShaark committed Dec 2, 2024
1 parent 95a9596 commit 5130d4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x/bridge/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ func GetTxCmd() *cobra.Command {

func CmdBridgeIn() *cobra.Command {
cmd := &cobra.Command{
Use: "bridge-in [amount]",
Use: "bridge-in [amount] [address]",
Short: "Broadcast message BridgeIn",
Args: cobra.ExactArgs(1),
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) (err error) {
clientCtx, err := client.GetClientTxContext(cmd)
if err != nil {
Expand All @@ -55,6 +55,7 @@ func CmdBridgeIn() *cobra.Command {
msg := &types.MsgBridgeIn{
Authority: clientCtx.GetFromAddress().String(),
Coin: coin,
Reciever: args[1],

Check failure on line 58 in x/bridge/client/cli/tx.go

View workflow job for this annotation

GitHub Actions / lint

`Reciever` is a misspelling of `Receiver` (misspell)
}

return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg)
Expand Down

0 comments on commit 5130d4f

Please sign in to comment.