Skip to content

Commit

Permalink
support project names
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlavanet committed Dec 8, 2024
1 parent ce4332c commit 5921f10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/pairing/client/cli/query_effective_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ func CmdEffectivePolicy() *cobra.Command {
if len(args) > 1 {
address, err = utils.ParseCLIAddress(clientCtx, args[1])
if err != nil {
return err
// this should allow project names not only addresses
address = args[1]
}
} else {
clientCtxForTx, err := client.GetClientQueryContext(cmd)
Expand Down

0 comments on commit 5921f10

Please sign in to comment.