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/gas fees set by user #1401

Merged
merged 3 commits into from
Feb 7, 2023
Merged

Fix/gas fees set by user #1401

merged 3 commits into from
Feb 7, 2023

Conversation

Jamchello
Copy link
Contributor

No description provided.

@Jamchello Jamchello marked this pull request as ready for review February 2, 2023 15:55
@@ -533,7 +533,7 @@ export class Provider extends EventEmitter {
account: (currentAccount as FrameAccount).id,
origin: payload._origin,
approvals: [],
feesUpdatedByUser: feesUpdated || false,
feesUpdatedByUser: false,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Jamchello can you explain this change? seems like we're changing the functionality here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

when the fees are updated by frame internally, this feesUpdated value is set to true - it is not indicative of the user updating the fees!

@Jamchello Jamchello merged commit 84bc729 into develop Feb 7, 2023
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.

2 participants