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

satochip error on first access #170

Open
PiRK opened this issue Dec 13, 2021 · 0 comments
Open

satochip error on first access #170

PiRK opened this issue Dec 13, 2021 · 0 comments

Comments

@PiRK
Copy link
Collaborator

PiRK commented Dec 13, 2021

This error happens often (maybe always?) the first time the device is selected when creating a wallet or opening an existing encrypted wallet. The next time the satochip device is selected, everything works fine.

Found while investigating #168.

The error message says "Failed to create a client for this device. Make sure it is in the correct state."

@PiRK PiRK changed the title satochip error: Failed to create a client for this device. Make sure it is in the correct state. satochip error on first access Dec 13, 2021
PiRK added a commit that referenced this issue Dec 13, 2021
…iled

When for some reason the hw device fails setup (#170 for instance), make sure the hw selection is done again  with the same purpose. This prevents calling `on_device(purpose=HWD_SETUP_NEW_WALLET)` when the real purpose is to decrypt an existing wallet file (`HWD_SETUP_DECRYPT_WALLET`)
Closes #168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants
@PiRK and others