Skip to content
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

fixed provider-jsonrpc.ts strict compile fixes and error handling #4837

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

apetersson
Copy link

The original condition used "NETWORK_ERROR" || isError(error, "UNSUPPORTED_OPERATION") which is always truthy due to the way the logical OR operator (||) is evaluated. This caused the if statement to not function as intended, potentially resulting in unexpected rejections during transaction handling.

…ror handling on network_error)

The original condition used "NETWORK_ERROR" || isError(error, "UNSUPPORTED_OPERATION") which is always truthy due to the way the logical OR operator (||) is evaluated. This caused the if statement to not function as intended, potentially resulting in unexpected rejections during transaction handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant