-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
The only problem I can see is that after running |
@bartekn I don't see the utility in adding a bunch of code to explicitly keep a deleted state and return errors. The wallet server already rejects the request for us if someone tries to keep using the wallet after deleting it. |
OK, so still we need to add code that throws |
Instead of hard coding the errors we expect into every protocol request, we should pass all errors to a middleware error handler. This will allow us to catch errors properly even if we don't expect them ahead of time. |
I added |
👍 We can add some tests later. I've created GH issue for this: #9. |
Update
delete_wallet.js
.Expose delete on wallet prototype.
Gave up on adding a test and added a stub description.
I will need to bump the version and cut a release so we can pull the new feature into the client.
Fixes #5.