diff --git a/cmd/keycmd/transfer.go b/cmd/keycmd/transfer.go index f3b72aafa..f28c596a4 100644 --- a/cmd/keycmd/transfer.go +++ b/cmd/keycmd/transfer.go @@ -427,9 +427,9 @@ func transferF(*cobra.Command, []string) error { var useLedger bool goalStr := "" if send { - goalStr = " for the sender address" + goalStr = "as the sender address" } else { - goalStr = " for the destination address" + goalStr = "as the destination address" } useLedger, keyName, err = prompts.GetKeyOrLedger(app.Prompt, goalStr, app.GetKeyDir(), true) if err != nil { diff --git a/pkg/prompts/prompts.go b/pkg/prompts/prompts.go index b2f267e18..5f3480cb1 100644 --- a/pkg/prompts/prompts.go +++ b/pkg/prompts/prompts.go @@ -773,7 +773,7 @@ func (prompter *realPrompter) ChooseKeyOrLedger(goal string) (bool, error) { ledgerOption = "Use ledger" ) option, err := prompter.CaptureList( - fmt.Sprintf("Which key source should be used to %s?", goal), + fmt.Sprintf("Which key should be used %s?", goal), []string{keyOption, ledgerOption}, ) if err != nil { @@ -886,7 +886,7 @@ func CaptureKeyName(prompt Prompter, goal string, keyDir string, includeEwoq boo if size > 10 { size = 10 } - keyName, err := prompt.CaptureListWithSize(fmt.Sprintf("Which stored key should be used to %s?", goal), keyNames, size) + keyName, err := prompt.CaptureListWithSize(fmt.Sprintf("Which stored key should be used %s?", goal), keyNames, size) if err != nil { return "", err }