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

Fixed issue where permission page breaks when connected to mainnet #59

Merged
merged 1 commit into from
May 16, 2019

Conversation

jcardenas9x
Copy link
Contributor

⚠️ - The bug occurs when connected to the mainnet and the database call retrieves an account which has only owner key and an undefined second permission.

This breaks the permission page because it expects the account to have 2 or more permissions, but doesn't properly check for the case where it has only 1 permission.

In other words, the problem is due to poor implementation lacking the guard

…ermission page doesn't break if the UI only receives exactly 1 permission instead of 2+
Copy link
Contributor

@mjk90 mjk90 left a comment

Choose a reason for hiding this comment

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

Looks good. Tested and it's working as normal on mainnet 👍 👍

@jcardenas9x jcardenas9x merged commit b754340 into develop May 16, 2019
@matharuajay matharuajay added the bug Something isn't working label May 16, 2019
@jcardenas9x jcardenas9x deleted the mainnet-permissions branch May 16, 2019 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants