Skip to content

Commit

Permalink
fix initiad q move resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Vritra4 committed Nov 2, 2023
1 parent 3d35e9d commit cee8d27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/move/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/spf13/cobra"

"github.com/initia-labs/initia/x/move/types"
vmapi "github.com/initia-labs/initiavm/api"
)

func GetQueryCmd() *cobra.Command {
Expand Down Expand Up @@ -124,7 +125,8 @@ func GetCmdResource() *cobra.Command {
return err
}

if err := sdk.ValidateDenom(args[1]); err != nil {
_, err = vmapi.ParseStructTag(args[1])
if err != nil {
return err
}

Expand Down

0 comments on commit cee8d27

Please sign in to comment.