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
If private key is created from mnemonic using Mnemonic.toEcdsaPrivateKey() we cannot use Mnemonic.toStandardECDSAsecp256k1PrivateKey() to retrieve that private key from memonics. Those two functions are having different algorithm and they are returning different values. Because of that we need to support both toEcdsaPrivateKey() and toStandardECDSAsecp256k1PrivateKey().
Solution
Implement toEcdsaPrivateKey() and toStandardECDSAsecp256k1PrivateKey()
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem
If private key is created from mnemonic using
Mnemonic.toEcdsaPrivateKey()
we cannot useMnemonic.toStandardECDSAsecp256k1PrivateKey()
to retrieve that private key from memonics. Those two functions are having different algorithm and they are returning different values. Because of that we need to support bothtoEcdsaPrivateKey()
andtoStandardECDSAsecp256k1PrivateKey()
.Solution
Implement
toEcdsaPrivateKey()
andtoStandardECDSAsecp256k1PrivateKey()
Alternatives
No response
The text was updated successfully, but these errors were encountered: