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

Commit

Permalink
Add missing type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliubuntu0206 authored Aug 25, 2023
1 parent 5ae2568 commit adc3435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class EthereumHDKey {
/**
* Creates an instance based on BIP39 mnemonic phrases
*/
public static fromMnemonic(mnemonic: string, passphrase?: string) {
public static fromMnemonic(mnemonic: string, passphrase?: string): EthereumHDKey {
return EthereumHDKey.fromMasterSeed(Buffer.from(mnemonicToSeedSync(mnemonic, passphrase)))
}

Expand Down

0 comments on commit adc3435

Please sign in to comment.