mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
HDW: Fix the case of wallet upgrades where the aesKey is provided.
This commit is contained in:
parent
00a276f906
commit
54a543bf77
@ -435,7 +435,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
|
||||
if (keychain.isDeterministicUpgradeRequired()) {
|
||||
log.info("Upgrade to HD wallets is required, attempting to do so.");
|
||||
try {
|
||||
upgradeToDeterministic(null);
|
||||
upgradeToDeterministic(aesKey);
|
||||
} catch (DeterministicUpgradeRequiresPassword e) {
|
||||
log.error("Failed to auto upgrade due to encryption. You should call wallet.upgradeToDeterministic " +
|
||||
"with the users AES key to avoid this error.");
|
||||
|
Loading…
Reference in New Issue
Block a user