-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix client.ts: reset EthersStoreUtil's error before new operation #1921
Conversation
At the moment the EthersStoreUtil's error is not reset before executing a new operation, therefore the value is carried over even for successful operations. With this fix we reset error to undefined before every operation.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@dextfprotocol is attempting to deploy a commit to the WalletConnect Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Can you please get CI to green, so we can approve 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
At the moment the EthersStoreUtil's
error
is not reset before executing a new operation, therefore the value is carried over even for successful operations.With this fix we reset
error
toundefined
before every operation.Breaking Changes
N/A
Changes
error
toundefined
before every operationAssociated Issues
closes #...