aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-25 16:42:06 -0800
committerRiccardo Spagni <ric@spagni.net>2018-01-25 16:42:06 -0800
commitb2ce5739dfcda3fb0acbdb428ed5ce50a27d0d34 (patch)
tree10e428221b20331f0c85eae95816d256e5a73b00 /src
parentMerge pull request #3027 (diff)
parentwallet2 bugfix: initialize subaddress table when generating from keys (diff)
downloadmonero-b2ce5739dfcda3fb0acbdb428ed5ce50a27d0d34.tar.xz
Merge pull request #3028
a4b006f9 wallet2 bugfix: initialize subaddress table when generating from keys (stoffu)
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp1
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();