Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed dTag CLI command #282

Merged
merged 1 commit into from
Oct 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed dtag CLI command name
  • Loading branch information
leobragaz committed Oct 6, 2020

Verified

This commit was signed with the committer’s verified signature.
strugee AJ Jordan
commit d06a86dd46b752d7d6ce8f60b603a39c70efe2dc
2 changes: 1 addition & 1 deletion cli_test/test_helpers.go
Original file line number Diff line number Diff line change
@@ -475,7 +475,7 @@ func (f *Fixtures) TxProfileRequestDTagTransfer(owner, from sdk.AccAddress, flag
}

func (f *Fixtures) TxProfileAcceptDTagTransfer(newDtag string, receiver, from sdk.AccAddress, flags ...string) (bool, string, string) {
cmd := fmt.Sprintf(`%s tx profiles accept-dtag-transfer.md %s %s --keyring-backend=test --from=%s %v`,
cmd := fmt.Sprintf(`%s tx profiles accept-dtag-transfer %s %s --keyring-backend=test --from=%s %v`,
f.DesmoscliBinary, newDtag, receiver, from, f.Flags())
return executeWriteRetStdStreams(f.T, addFlags(cmd, flags), clientkeys.DefaultKeyPass)
}
2 changes: 1 addition & 1 deletion x/profiles/client/cli/tx.go
Original file line number Diff line number Diff line change
@@ -135,7 +135,7 @@ func GetCmdRequestDTagTransfer(cdc *codec.Codec) *cobra.Command {
// GetCmdAcceptDTagTransfer is the CLI command to accept the request to transfer a dTag
func GetCmdAcceptDTagTransfer(cdc *codec.Codec) *cobra.Command {
cmd := &cobra.Command{
Use: "accept-dtag-transfer.md [newDTag] [address]",
Use: "accept-dtag-transfer [newDTag] [address]",
Short: "Accept a DTag transfer request made by the user with the given address",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {