diff --git a/app/src/main/java/com/m2049r/xmrwallet/LoginActivity.java b/app/src/main/java/com/m2049r/xmrwallet/LoginActivity.java index 662776cd..2913ae19 100644 --- a/app/src/main/java/com/m2049r/xmrwallet/LoginActivity.java +++ b/app/src/main/java/com/m2049r/xmrwallet/LoginActivity.java @@ -940,8 +940,9 @@ public class LoginActivity extends BaseActivity @Override public boolean createWallet(File aFile, String password) { NodeInfo currentNode = getNode(); + // get it from the connected node if we have one, and go back ca. 4 days final long restoreHeight = - (currentNode != null) ? currentNode.getHeight() - 20 : -1; + (currentNode != null) ? currentNode.getHeight() - 2000 : -1; Wallet newWallet = WalletManager.getInstance() .createWallet(aFile, password, MNEMONIC_LANGUAGE, restoreHeight); return checkAndCloseWallet(newWallet);