Skip to content

Commit

Permalink
support project names (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlavanet authored Dec 8, 2024
1 parent 6a7cf7b commit 4631607
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 4631607

Please sign in to comment.