mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-18 21:25:49 +00:00
WalletAppKit: Fix wallet isn't moved out of the way on restore, preventing the actual restore.
This commit is contained in:
parent
883ea24483
commit
fa3a5b4827
@ -463,8 +463,7 @@ public class WalletAppKit extends AbstractIdleService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void maybeMoveOldWalletOutOfTheWay() {
|
private void maybeMoveOldWalletOutOfTheWay() {
|
||||||
if (restoreFromSeed == null) return;
|
if (restoreFromSeed == null && restoreFromKey == null) return;
|
||||||
if (restoreFromKey == null) return;
|
|
||||||
if (!vWalletFile.exists()) return;
|
if (!vWalletFile.exists()) return;
|
||||||
int counter = 1;
|
int counter = 1;
|
||||||
File newName;
|
File newName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user