make-software / casper-wallet

Securely manage your CSPR tokens, interact with dapps, and sign transactions with Casper Wallet, the go-to self-custody wallet for the Casper Network.
https://casperwallet.io
Apache License 2.0
21 stars 4 forks source link

feature: update 'Sign:Response' with additional error handling #929

Closed ost-ptk closed 7 months ago

ost-ptk commented 7 months ago

Make sure to fill in all the below sections.

Description

Modified 'Sign:Response' so that it now includes a 'cancelled' scenario where an optional error message can be attached. Also, a utility function has been added to the background that checks if a deploy was signed with a particular account already. This will be helpful in scenarios where duplicate signatures have to be prevented from the same account while signing a deploy.

Linked tickets

WALLET-280

Checklist