This commit is contained in:
M
2020-10-29 12:49:07 +02:00
parent 44e55f0bc4
commit b8e435ea8e
14 changed files with 250 additions and 119 deletions
+1 -1
View File
@@ -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;