mirror of
https://github.com/monero-project/monero.git
synced 2025-03-12 09:28:28 +00:00
Merge pull request #3028
a4b006f9
wallet2 bugfix: initialize subaddress table when generating from keys (stoffu)
This commit is contained in:
commit
b2ce5739df
1 changed files with 1 additions and 0 deletions
|
@ -2983,6 +2983,7 @@ void wallet2::generate(const std::string& wallet_, const epee::wipeable_string&
|
|||
cryptonote::block b;
|
||||
generate_genesis(b);
|
||||
m_blockchain.push_back(get_block_hash(b));
|
||||
add_subaddress_account(tr("Primary account"));
|
||||
|
||||
if (!wallet_.empty())
|
||||
store();
|
||||
|
|
Loading…
Reference in a new issue