Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
See issue here
This adds a new function
which recursively counts up from 0 and finds the first unused index in the wallet, where
will inject a new account.
An alternative fix for this error can be seen
, where instead of a new function, a new variable is added
to keep track of a safe lower limit for future indexes.
Despite this recursive fix being O(n), and the alternative fix (linked above) and original
being O(1), they all benchmark around the same @ ~1000ms for
's coupling to other primary wallet functions causes issues if
has been used.
This PR adds two new functions,
, to help address these issues.
Tests have been added as well.
Chai version number was bumped to utilize chai's new array equality assertions.