mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 265250687b into merged_master (Bitcoin PR bitcoin/bitcoin#28455)
This commit is contained in:
commit
e2aa52246d
16 changed files with 63 additions and 100 deletions
|
|
@ -1188,8 +1188,7 @@ bool LegacyScriptPubKeyMan::CanGenerateKeys() const
|
|||
CPubKey LegacyScriptPubKeyMan::GenerateNewSeed()
|
||||
{
|
||||
assert(!m_storage.IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS));
|
||||
CKey key;
|
||||
key.MakeNewKey(true);
|
||||
CKey key = GenerateRandomKey();
|
||||
return DeriveNewSeed(key);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue