mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 6419bdfeb1 into merged_master (Bitcoin PR bitcoin/bitcoin#23093)
This commit is contained in:
commit
d66186c94c
5 changed files with 59 additions and 18 deletions
|
|
@ -496,7 +496,7 @@ bool LegacyScriptPubKeyMan::Upgrade(int prev_version, int new_version, bilingual
|
|||
}
|
||||
// Regenerate the keypool if upgraded to HD
|
||||
if (hd_upgrade) {
|
||||
if (!TopUp()) {
|
||||
if (!NewKeyPool()) {
|
||||
error = _("Unable to generate keys");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue