You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this file lib/elliptic/curves.js, variable curve is defined twice, in two different scopes; once in the global scope, and then in the function defineCurve. This is can be very problematic, especially as the codebase (defineCurve in particular) grows bigger and more people work on it - one could confuse the two scopes and cause bugs that would be very hard to track down.
Even though it is syntactically correct, this should be resolved.
The text was updated successfully, but these errors were encountered:
In this file lib/elliptic/curves.js, variable
curve
is defined twice, in two different scopes; once in the global scope, and then in the functiondefineCurve
. This is can be very problematic, especially as the codebase (defineCurve
in particular) grows bigger and more people work on it - one could confuse the two scopes and cause bugs that would be very hard to track down.Even though it is syntactically correct, this should be resolved.

The text was updated successfully, but these errors were encountered: