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

[BUG] Sign promise does not fullfill when the user closes the window #730

Open
davidatwhiletrue opened this issue Jul 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@davidatwhiletrue
Copy link
Member

Describe the bug
sign() method returns a promise that fulfills when the user signs or cancels the transaction signature.
But if the user closes the casper wallet window, the promise that not fulfill.

Expected behavior
The expect result would be that the promise fulfills with canceled property set to true. Same as when the user clicks on Cancel button.

Required information:

  • Operating System: Windows 11 & Mac OS
  • Browser Name and Version: Chrome and Edge
  • Casper Wallet Version
@davidatwhiletrue davidatwhiletrue added the bug Something isn't working label Jul 18, 2023
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

No branches or pull requests

1 participant