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

Fix Ergo connector crash #2214

Merged
merged 3 commits into from
Jul 6, 2021
Merged

Fix Ergo connector crash #2214

merged 3 commits into from
Jul 6, 2021

Conversation

yushih
Copy link
Collaborator

@yushih yushih commented Jul 6, 2021

The Ergo connector app (/main_window_ergo.html) has a different action map than the main Yoroi extension app. Accessing to actions.wallets.setActiveWallet in the Ergo connector app leads to crash. It is fixed by wrapping in a check.

@vsubhuman vsubhuman added this to the 4.6.0 milestone Jul 6, 2021
Copy link
Contributor

@rooooooooob rooooooooob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Yushi! I did a similar fix locally and had no problems with the connector main flow (connect + sign tx + send)

Copy link
Contributor

@vsubhuman vsubhuman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/check

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

Successfully merging this pull request may close these issues.

3 participants