Skip to content

Commit

Permalink
fix: comment typo (#1902)
Browse files Browse the repository at this point in the history
This PR fixes the comment typo of the function `ExecuteContractCmd`.
  • Loading branch information
lesterli authored Jun 19, 2024
1 parent aaaca67 commit c6ff9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/wasm/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func parseInstantiateArgs(rawCodeID, initMsg string, kr keyring.Keyring, sender
return &msg, msg.ValidateBasic()
}

// ExecuteContractCmd will instantiate a contract from previously uploaded code.
// ExecuteContractCmd will execute a contract method using its address and JSON-encoded arguments.
func ExecuteContractCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "execute [contract_addr_bech32] [json_encoded_send_args] --amount [coins,optional]",
Expand Down

0 comments on commit c6ff9db

Please sign in to comment.