Skip to content

Commit

Permalink
register command
Browse files Browse the repository at this point in the history
  • Loading branch information
ntchjb committed May 24, 2021
1 parent 5ea4794 commit c6c82d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x/oracle/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func GetQueryCmd() *cobra.Command {
GetQueryCmdValidatorStatus(),
GetQueryCmdReporters(),
GetQueryActiveValidators(),
// GetQueryPendingRequests(storeKey, cdc),
GetQueryPendingRequests(),
GetQueryRequestVerification(),
GetQueryRequestPool(),
)
Expand Down Expand Up @@ -285,7 +285,7 @@ func GetQueryActiveValidators() *cobra.Command {
// GetQueryPendingRequests implements the query pending requests command.
func GetQueryPendingRequests() *cobra.Command {
cmd := &cobra.Command{
Use: "pending-requests [validator]",
Use: "pending-requests [validator-address]",
Short: "Get list of pending request IDs assigned to given validator",
Args: cobra.MaximumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand All @@ -310,7 +310,6 @@ func GetQueryPendingRequests() *cobra.Command {
return clientCtx.PrintProto(r)
},
}

flags.AddQueryFlagsToCmd(cmd)

return cmd
Expand Down

0 comments on commit c6c82d6

Please sign in to comment.