Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Dec 31, 2024
1 parent 1b00d77 commit 683d15a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x/bridge/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func CmdBridgeIn() *cobra.Command {
msg := &types.MsgBridgeIn{
Authority: clientCtx.GetFromAddress().String(),
Coin: coin,
Reciever: args[1],
Receiver: args[1],

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

View workflow job for this annotation

GitHub Actions / test (1.22.x, ubuntu-latest)

unknown field Receiver in struct literal of type "github.com/realiotech/realio-network/x/bridge/types".MsgBridgeIn
}

return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg)
Expand Down Expand Up @@ -135,10 +135,10 @@ func CmdDeregisterCoins() *cobra.Command {

func CmdRegisterNewCoins() *cobra.Command {
cmd := &cobra.Command{
Use: "register-coins [amount]",
Short: "Broadcast message RegisterNewCoins",
Use: "register-coins [amount]",
Short: "Broadcast message RegisterNewCoins",
Example: "realio-networkd tx bridge register-coins 100denoma,200denomb",
Args: cobra.ExactArgs(1),
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
clientCtx, err := client.GetClientTxContext(cmd)
if err != nil {
Expand Down

0 comments on commit 683d15a

Please sign in to comment.