Skip to content

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

@davidatwhiletrue

Description

@davidatwhiletrue

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions