From a4b006f96588038f48608a4f422826ad8ae53aa3 Mon Sep 17 00:00:00 2001 From: stoffu Date: Fri, 29 Dec 2017 15:53:28 +0900 Subject: [PATCH] wallet2 bugfix: initialize subaddress table when generating from keys --- src/wallet/wallet2.cpp | 1 + 1 file changed, 1 insertion(+) 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();