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

Add account -> invalid error message when provided private key not valid #1614

Closed
cryptoBeliever opened this issue Jul 22, 2021 · 2 comments · Fixed by #1641
Closed

Add account -> invalid error message when provided private key not valid #1614

cryptoBeliever opened this issue Jul 22, 2021 · 2 comments · Fixed by #1641
Assignees
Labels
P3 Issue Minor defect in aesthetics

Comments

@cryptoBeliever
Copy link
Contributor

Steps:

  1. Login to existing profile
  2. Go to "Accounts"
  3. Click "Add an account"
  4. Put account name
  5. Put invalid private key (with valid length). For example: 000000000000000000000000000000000000000000000000000000000000000q
  6. Put the password

Result: You got an error message: "Profile name already taken" which is confusing for the user. The message should tell that provided private key is invalid. When you click "Confirm" you got an error that an error happened and to try again.

Expected result: If the user provides invalid private key, present error message that pk is invalid and don't allow click "Confirm"

image
image

@cryptoBeliever cryptoBeliever added the P3 Issue Minor defect in aesthetics label Jul 22, 2021
@cryptoBeliever cryptoBeliever self-assigned this Aug 4, 2021
cryptoBeliever added a commit that referenced this issue Aug 5, 2021
AnthonyLaw pushed a commit that referenced this issue Aug 6, 2021
…#1641)

* Fix private key validation when adding new account into profile #1614

* fix: private key validation when adding new account into profile #1614 - lint

* fix: private key validation when adding new account into profile #1614 - improved translations
@cryptoBeliever
Copy link
Contributor Author

There is problem when trying add account with type = child account

cryptoBeliever added a commit that referenced this issue Aug 6, 2021
cryptoBeliever added a commit that referenced this issue Aug 8, 2021
@cryptoBeliever
Copy link
Contributor Author

Fixed in dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Issue Minor defect in aesthetics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant