Skip to content

Commit

Permalink
add other query
Browse files Browse the repository at this point in the history
  • Loading branch information
mj850 committed Nov 14, 2024
1 parent 51ec944 commit 586e7d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/confidentialtransfers/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func GetQueryCmd() *cobra.Command {

confidentialTransfersQueryCmd.AddCommand(
GetCmdQueryAccount(),
GetCmdQueryAllAccount(),
)

return confidentialTransfersQueryCmd
Expand Down Expand Up @@ -58,7 +59,7 @@ func GetCmdQueryAccount() *cobra.Command {
// GetCmdQueryAccount implements a command to return an account asssociated with the address and denom
func GetCmdQueryAllAccount() *cobra.Command {
cmd := &cobra.Command{
Use: "account [address]",
Use: "accounts [address]",
Short: "Query all the confidential token accounts associated with the address",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 586e7d7

Please sign in to comment.