Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/bip39-support' into bip39-support
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Nov 5, 2023
2 parents 9557385 + 531ddb5 commit dc24dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/blobstream/keys/evm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@ func GetNewPassphrase() (string, error) {
return string(bzPassphrase), nil
}

// MnemonicToPrivateKey derives a private key from the provided mnemonic
// It uses the geth.LegacyLedgerBaseDerivationPath, i.e. m/44'/60'/0'/0, to generate
// MnemonicToPrivateKey derives a private key from the provided mnemonic.
// It uses the Ledger derivation path, geth.LegacyLedgerBaseDerivationPath, i.e. m/44'/60'/0'/0, to generate
// the first private key.
func MnemonicToPrivateKey(mnemonic string, passphrase string) (*ecdsa.PrivateKey, error) {
// create the master key
Expand Down

0 comments on commit dc24dd4

Please sign in to comment.