Skip to content
Snippets Groups Projects
Commit b3efa766 authored by poka's avatar poka
Browse files

Fix renamming first derivation

parent d1ffe2a5
No related branches found
No related tags found
1 merge request!21Draft: Hive storage
Pipeline #13975 failed
......@@ -136,8 +136,6 @@ class WalletOptionsProvider with ChangeNotifier {
String newConfig =
await _walletConfig.readAsLines().then((List<String> lines) {
int nbrLines = lines.length;
if (nbrLines != 1) {
for (String wLine in lines) {
String wID = "${wLine.split(':')[0]}:${wLine.split(':')[1]}";
String deri = wLine.split(':')[3];
......@@ -147,9 +145,6 @@ class WalletOptionsProvider with ChangeNotifier {
}
}
return lines.join('\n');
} else {
return 'true';
}
});
await _walletConfig.delete();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment