Fixed mnemonic generation call for litecoin service.

This commit is contained in:
M 2021-05-10 20:01:54 +03:00
parent 2b4248e30b
commit b096123ea1

View file

@ -24,7 +24,7 @@ class LitecoinWalletService extends WalletService<
@override
Future<LitecoinWallet> create(BitcoinNewWalletCredentials credentials) async {
final wallet = LitecoinWallet(
mnemonic: generateMnemonic(),
mnemonic: await generateMnemonic(),
password: credentials.password,
walletInfo: credentials.walletInfo);
await wallet.save();