diff options
| author | tom <tewinget@gmail.com> | 2014-06-04 21:11:19 -0400 |
|---|---|---|
| committer | Thomas Winget <tewinget@gmail.com> | 2014-06-12 19:05:51 -0400 |
| commit | f70bc3a345ea11190e5b40c0606bb222d7825ea8 (patch) | |
| tree | 5c7a7d8b2edc0414fe452430cc1832ebb1dc750f /src | |
| parent | 4f382b383005d09f6056371d0fecdc8b6ce37a08 (diff) | |
| download | monzero-core-f70bc3a345ea11190e5b40c0606bb222d7825ea8.tar.gz monzero-core-f70bc3a345ea11190e5b40c0606bb222d7825ea8.tar.xz monzero-core-f70bc3a345ea11190e5b40c0606bb222d7825ea8.zip | |
defaulted new parameters in modified functions
Diffstat (limited to 'src')
| -rw-r--r-- | src/cryptonote_core/account.h | 2 | ||||
| -rw-r--r-- | src/wallet/wallet2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/account.h b/src/cryptonote_core/account.h index 96125eb27..745da0897 100644 --- a/src/cryptonote_core/account.h +++ b/src/cryptonote_core/account.h @@ -31,7 +31,7 @@ namespace cryptonote { public: account_base(); - void generate(const crypto::secret_key& recovery_key, bool recover); + void generate(const crypto::secret_key& recovery_key = crypto::secret_key(), bool recover = false); const account_keys& get_keys() const; std::string get_public_address_str(); diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 87e1dcbd4..85ed344c3 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -97,7 +97,7 @@ namespace tools END_SERIALIZE() }; - void generate(const std::string& wallet, const std::string& password, const crypto::secret_key& recovery_param, bool recover = false); + void generate(const std::string& wallet, const std::string& password, const crypto::secret_key& recovery_param = crypto::secret_key(), bool recover = false); void load(const std::string& wallet, const std::string& password); void store(); cryptonote::account_base& get_account(){return m_account;} |
