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

Able to import twice the same account via sk_ prefixed key #3498

Open
dvdbak opened this issue Feb 19, 2025 · 0 comments
Open

Able to import twice the same account via sk_ prefixed key #3498

dvdbak opened this issue Feb 19, 2025 · 0 comments

Comments

@dvdbak
Copy link
Collaborator

dvdbak commented Feb 19, 2025

Describe the bug
It is not possible to import via Private key and account which is already in the Wallet. So it is possible to import the same account via sk_ prefixed key.

To Reproduce
Steps to reproduce the behavior:

  1. Copy the private key of an account in the wallet
  2. get the sk_ prefixed key based on the private key
  3. Import the account entering sk_ key
  4. See it was imported successfully

Expected behavior
Msg: This account is already in your wallet.

Screenshots

Image

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

No branches or pull requests

1 participant