Skip to content

[API BUG] sys_requestAccounts method never resolves if user cancels #697

@jay-emm-jee

Description

@jay-emm-jee

What happened?

When calling pali.request({ method: "sys_requestAccounts" }) if the user closes the extension or clicks "cancel" the Promise is not resolved. Please add a reject in the case that this happens.

Version

3.4.0

What platform are you using?

Windows

What browser are you using?

Firefox

Is this a trezor issue?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    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