diff options
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/account.cpp | 2 | ||||
-rw-r--r-- | src/cryptonote_core/account.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/account.cpp b/src/cryptonote_core/account.cpp index ba39b9b77..9a96de2f0 100644 --- a/src/cryptonote_core/account.cpp +++ b/src/cryptonote_core/account.cpp @@ -29,7 +29,7 @@ DISABLE_VS_WARNINGS(4244 4345) m_keys = account_keys(); } //----------------------------------------------------------------- - void account_base::generate() + void account_base::generate(const crypto::secret_key& recovery_key, bool recover) { generate_keys(m_keys.m_account_address.m_spend_public_key, m_keys.m_spend_secret_key); generate_keys(m_keys.m_account_address.m_view_public_key, m_keys.m_view_secret_key); diff --git a/src/cryptonote_core/account.h b/src/cryptonote_core/account.h index 8b525da97..96125eb27 100644 --- a/src/cryptonote_core/account.h +++ b/src/cryptonote_core/account.h @@ -31,7 +31,7 @@ namespace cryptonote { public: account_base(); - void generate(); + void generate(const crypto::secret_key& recovery_key, bool recover); const account_keys& get_keys() const; std::string get_public_address_str(); |