diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:42:06 -0800 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:42:06 -0800 |
commit | b2ce5739dfcda3fb0acbdb428ed5ce50a27d0d34 (patch) | |
tree | 10e428221b20331f0c85eae95816d256e5a73b00 /src/wallet | |
parent | Merge pull request #3027 (diff) | |
parent | wallet2 bugfix: initialize subaddress table when generating from keys (diff) | |
download | monero-b2ce5739dfcda3fb0acbdb428ed5ce50a27d0d34.tar.xz |
Merge pull request #3028
a4b006f9 wallet2 bugfix: initialize subaddress table when generating from keys (stoffu)
Diffstat (limited to 'src/wallet')
-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 963783002..1549c73b1 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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(); |