Skip to content

Cobra default action for (Y/n) doesn't work #4564

@okwme

Description

@okwme

Summary of Bug

When creating a tx from the command line you are asked to confirm the tx like:

confirm transaction before signing and broadcasting [Y/n]: 

Typically the uppercase Y implies the default option so hitting enter is enough. This is not the case here where enter just brings the prompt up again.

Version

v0.35.0

Steps to Reproduce

> gaiacli tx send $(gaiacli keys show billy -a) $(gaiacli keys show billy -a) 1stake --from billy 

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions