diff --git a/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java b/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java index 8bfb5ea0f26..a31660c070b 100644 --- a/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java +++ b/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java @@ -251,7 +251,7 @@ protected void startUp() throws Exception { vStore = new SPVBlockStore(params, chainFile); if ((!chainFileExists || restoreFromSeed != null) && checkpoints != null) { // Initialize the chain file with a checkpoint to speed up first-run sync. - long time = Long.MAX_VALUE; + long time; if (restoreFromSeed != null) { time = restoreFromSeed.getCreationTimeSeconds(); if (chainFileExists) {