-
Notifications
You must be signed in to change notification settings - Fork 1k
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
validator/accounts: don't ask for keystore path if specified #5641
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this! I think with NewValidatorAccount
inside the if statement, it appears creating new accounts won't work unless theres no path set.
Well spotted 👍 |
What type of PR is this?
Usability
What does this PR do? Why is it needed?
If you run a validator with
--keystore-path
it still asks you for a keystore path.This PR improves usability in two ways:
Which issues(s) does this PR fix?
N/A
Other notes for review
As discussed on Discord with @nisdas