mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 03:58:52 +00:00
wallet2 bugfix: initialize subaddress table when generating from keys
This commit is contained in:
parent
a0a8706946
commit
a4b006f965
@ -2821,6 +2821,7 @@ void wallet2::generate(const std::string& wallet_, const epee::wipeable_string&
|
|||||||
cryptonote::block b;
|
cryptonote::block b;
|
||||||
generate_genesis(b);
|
generate_genesis(b);
|
||||||
m_blockchain.push_back(get_block_hash(b));
|
m_blockchain.push_back(get_block_hash(b));
|
||||||
|
add_subaddress_account(tr("Primary account"));
|
||||||
|
|
||||||
if (!wallet_.empty())
|
if (!wallet_.empty())
|
||||||
store();
|
store();
|
||||||
|
Loading…
Reference in New Issue
Block a user