refactor(@embark/utils): bip39.mnemonicToSeed -> bip39.mnemonicToSeedSync

This commit is contained in:
Michael Bradley, Jr 2019-08-29 12:37:56 -05:00 committed by Michael Bradley
parent faa36550f7
commit 775881318f
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class AccountParser {
} }
if (accountConfig.mnemonic) { if (accountConfig.mnemonic) {
const hdwallet = hdkey.fromMasterSeed(bip39.mnemonicToSeed(accountConfig.mnemonic.trim())); const hdwallet = hdkey.fromMasterSeed(bip39.mnemonicToSeedSync(accountConfig.mnemonic.trim()));
const addressIndex = accountConfig.addressIndex || 0; const addressIndex = accountConfig.addressIndex || 0;
const numAddresses = accountConfig.numAddresses || 1; const numAddresses = accountConfig.numAddresses || 1;