bitcore
bitcore copied to clipboard
Fix key derivation when path is given as string
As described in this issue: https://github.com/bitpay/bitcore/issues/3358
This PR fixes the derivation issues when trying to create a key with a string-typed derivation path such as m/0'/1/2/3
@kajoseph Thank you for dealing with the issues from my other PR. Can you please take a look into this one? I think it's quite a serious flaw and this could lead to many wrong implementations out there, if we don't fix it