Skip to content

Commit

Permalink
language
Browse files Browse the repository at this point in the history
  • Loading branch information
meaghanfitzgerald committed Oct 8, 2024
1 parent 1f6de79 commit 9fea894
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/keycmd/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,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 {
Expand Down
4 changes: 2 additions & 2 deletions pkg/prompts/prompts.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,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 {
Expand Down Expand Up @@ -871,7 +871,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
}
Expand Down

0 comments on commit 9fea894

Please sign in to comment.