Cache deterministic seed

This commit is contained in:
Devrandom
2014-09-20 16:02:30 -07:00
committed by Mike Hearn
parent cfd795ccbd
commit 03bacf4fa9
10 changed files with 543 additions and 90 deletions

View File

@@ -153,7 +153,7 @@ public class WalletSettingsController {
Main.instance.controller.restoreFromSeedAnimation();
long birthday = datePicker.getValue().atStartOfDay().toEpochSecond(ZoneOffset.UTC);
DeterministicSeed seed = new DeterministicSeed(Splitter.on(' ').splitToList(wordsArea.getText()), "", birthday);
DeterministicSeed seed = new DeterministicSeed(Splitter.on(' ').splitToList(wordsArea.getText()), null, "", birthday);
// Shut down bitcoinj and restart it with the new seed.
Main.bitcoin.addListener(new Service.Listener() {
@Override