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 GUI crash on invalid walletconnect request #2476

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

ChiaMineJP
Copy link
Contributor

Fixed #2455

Through walletconnect, invalid offer with null amount offer item could be sent to GUI.
In that case, GUI keeps crashing until the walletconnect endpoint gives up to send requests.

This PR catches exception raised during rendering walletconnect request confirmation dialog and opens the AlertDialog with a message notifying an invalid walletconnect request arrives, and sends rejection to walletconnect endpoint.

@ChiaMineJP ChiaMineJP added the Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog label Sep 10, 2024
@ChiaMineJP ChiaMineJP self-assigned this Sep 10, 2024
@ChiaMineJP ChiaMineJP requested a review from a team as a code owner September 10, 2024 18:19
@ChiaMineJP
Copy link
Contributor Author

Needs to merge #2477 prior to this PR

markelrod
markelrod previously approved these changes Sep 11, 2024
@ChiaMineJP ChiaMineJP closed this Sep 12, 2024
@ChiaMineJP ChiaMineJP reopened this Sep 12, 2024
@ChiaMineJP ChiaMineJP force-pushed the cmj.fix-gui-crash-on-offer-submission branch 2 times, most recently from e1dec8a to 9122fee Compare September 12, 2024 12:36
@ChiaMineJP ChiaMineJP force-pushed the cmj.fix-gui-crash-on-offer-submission branch from 9122fee to d2009e3 Compare September 12, 2024 12:48
@pmaslana pmaslana merged commit 85f3a2d into main Sep 12, 2024
10 checks passed
@pmaslana pmaslana deleted the cmj.fix-gui-crash-on-offer-submission branch September 12, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Wallet GUI crashes after multiple offer submissions
3 participants