-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 Single Provider in the FallbackProvider Array #3746
Fix Single Provider in the FallbackProvider Array #3746
Conversation
I have a similar issue, but it fails whenever there is an odd number of providers.
|
Please do not modify generated files, as it makes the diff to complicated. You should only need to modify files in the |
Ok! Only one line has changed. I added Math.floor() function to the float variable "mid". |
Lol! Awesome! Yes, that makes sense. I will get that change in for the next patch release. :) |
Merged into v6.0.4. Thanks! :) |
Fix the corner case where if only one provider was passed in the FallbackProvider array it would cause errors even simply on the provider.getBlockNumber().
Fix the issue #3745