3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00

Wallet template: the appkit enables autosaving automatically, so it's unnecessary to repeat that.

This commit is contained in:
Mike Hearn 2013-09-20 15:32:40 +02:00
parent 7455135d3d
commit efb6349a50

View File

@ -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!