Key rotation: add saveNow call after new HD chains might have been added.

This commit is contained in:
Mike Hearn
2014-10-23 00:07:01 +02:00
parent d2ea42bfce
commit 9239387ca7

View File

@@ -4382,6 +4382,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
log.info(" ... no non-rotating random keys available, generating entirely new HD tree: backup required after this.");
keychain.createAndActivateNewHDChain();
}
saveNow();
}
// Because transactions are size limited, we might not be able to re-key the entire wallet in one go. So