We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1cb07 commit ecf9ed9Copy full SHA for ecf9ed9
signer/wallet_signer.go
@@ -37,7 +37,7 @@ func (s *walletSigner) SignData(data []byte) ([]byte, error) {
37
}
38
39
// derivePrivateKey derives an ECDSA private key from a mnemonic phrase and derivation path.
40
-func derivePrivateKey(mnemonic string, path accounts.DerivationPath) (*ecdsa.PrivateKey, error) {
+func derivePrivateKeyFromMnemonic(mnemonic string, path accounts.DerivationPath) (*ecdsa.PrivateKey, error) {
41
// Parse the seed string into the master BIP32 key.
42
seed, err := bip39.NewSeedWithErrorChecking(mnemonic, "")
43
if err != nil {
0 commit comments