aboutsummaryrefslogtreecommitdiff
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
parent960b32ba708f9eeeaa2499a10ab3ba5d39dc65c7 (diff)
parenta4b006f96588038f48608a4f422826ad8ae53aa3 (diff)
downloadmonzero-core-b2ce5739dfcda3fb0acbdb428ed5ce50a27d0d34.tar.gz
monzero-core-b2ce5739dfcda3fb0acbdb428ed5ce50a27d0d34.tar.xz
monzero-core-b2ce5739dfcda3fb0acbdb428ed5ce50a27d0d34.zip
Merge pull request #3028
a4b006f9 wallet2 bugfix: initialize subaddress table when generating from keys (stoffu)
-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();