diff options
author | stoffu <stoffu@protonmail.ch> | 2017-12-29 15:53:28 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2017-12-29 15:53:28 +0900 |
commit | a4b006f96588038f48608a4f422826ad8ae53aa3 (patch) | |
tree | 53c10d76e07904060e2f326cbf67bb28fc54b7e1 /src | |
parent | Merge pull request #2955 (diff) | |
download | monero-a4b006f96588038f48608a4f422826ad8ae53aa3.tar.xz |
wallet2 bugfix: initialize subaddress table when generating from keys
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index d6f4b9b98..c663457f3 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2821,6 +2821,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(); |