mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-28 11:34:52 +01:00
Fixes.
This commit is contained in:
@@ -34,8 +34,8 @@ abstract class WalletCreationVMBase with Store {
|
||||
|
||||
Future<void> create({dynamic options}) async {
|
||||
try {
|
||||
name = await generateName();
|
||||
state = IsExecutingState();
|
||||
name = await generateName();
|
||||
final dirPath = await pathForWalletDir(name: name, type: type);
|
||||
final path = await pathForWallet(name: name, type: type);
|
||||
final credentials = getCredentials(options);
|
||||
|
||||
@@ -55,7 +55,8 @@ abstract class WalletRestoreViewModelBase extends WalletCreationVM with Store {
|
||||
spendKey: spendKey,
|
||||
viewKey: viewKey,
|
||||
address: address,
|
||||
password: password);
|
||||
password: password,
|
||||
language: 'English');
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user