Rewrites to old wallet file correctly

This commit is contained in:
Oran Juice
2014-10-19 01:00:18 +05:30
parent 1f833dcf77
commit 031ca23ce9
3 changed files with 18 additions and 3 deletions

View File

@@ -133,7 +133,10 @@ namespace tools
END_SERIALIZE()
};
crypto::secret_key generate(const std::string& wallet, const std::string& password, const crypto::secret_key& recovery_param = crypto::secret_key(), bool recover = false, bool two_random = false);
crypto::secret_key generate(const std::string& wallet, const std::string& password,
const crypto::secret_key& recovery_param = crypto::secret_key(), bool recover = false,
bool two_random = false);
void rewrite(const std::string& wallet_name, const std::string& password);
void load(const std::string& wallet, const std::string& password);
void store();
cryptonote::account_base& get_account(){return m_account;}