From efb6349a5003a5093ff6a25a41f08c2fba24ddb6 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Fri, 20 Sep 2013 15:32:40 +0200 Subject: [PATCH] Wallet template: the appkit enables autosaving automatically, so it's unnecessary to repeat that. --- wallettemplate/src/main/java/wallettemplate/Main.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wallettemplate/src/main/java/wallettemplate/Main.java b/wallettemplate/src/main/java/wallettemplate/Main.java index 518e71c4..2a464858 100644 --- a/wallettemplate/src/main/java/wallettemplate/Main.java +++ b/wallettemplate/src/main/java/wallettemplate/Main.java @@ -75,8 +75,7 @@ public class Main extends Application { // Now configure and start the appkit. This will take a second or two - we could show a temporary splash screen // or progress widget to keep the user engaged whilst we initialise, but we don't. - bitcoin.setAutoSave(true) - .setDownloadListener(controller.progressBarUpdater()) + bitcoin.setDownloadListener(controller.progressBarUpdater()) .setBlockingStartup(false) .startAndWait(); // Don't make the user wait for confirmations for now, as the intention is they're sending it their own money!