aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-08-15 17:58:24 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-08-15 17:58:24 -0500
commit41e583b0a287474e85357480de5f1de87cf5c57d (patch)
tree792d18f020bfbb047f95b229007af8cc0f614740 /src/simplewallet/simplewallet.h
parentMerge pull request #4194 (diff)
parentsimplewallet: make sure wallet config is stored right after creation (diff)
downloadmonero-41e583b0a287474e85357480de5f1de87cf5c57d.tar.xz
Merge pull request #4195
f13c7a8 simplewallet: make sure wallet config is stored right after creation (stoffu)
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r--src/simplewallet/simplewallet.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h
index e08f31607..472ad0c00 100644
--- a/src/simplewallet/simplewallet.h
+++ b/src/simplewallet/simplewallet.h
@@ -91,13 +91,13 @@ namespace cryptonote
//! \return Prompts user for password and verifies against local file. Logs on error and returns `none`
boost::optional<tools::password_container> get_and_verify_password() const;
- bool new_wallet(const boost::program_options::variables_map& vm, const crypto::secret_key& recovery_key,
+ boost::optional<epee::wipeable_string> new_wallet(const boost::program_options::variables_map& vm, const crypto::secret_key& recovery_key,
bool recover, bool two_random, const std::string &old_language);
- bool new_wallet(const boost::program_options::variables_map& vm, const cryptonote::account_public_address& address,
+ boost::optional<epee::wipeable_string> new_wallet(const boost::program_options::variables_map& vm, const cryptonote::account_public_address& address,
const boost::optional<crypto::secret_key>& spendkey, const crypto::secret_key& viewkey);
- bool new_wallet(const boost::program_options::variables_map& vm,
+ boost::optional<epee::wipeable_string> new_wallet(const boost::program_options::variables_map& vm,
const std::string &multisig_keys, const std::string &old_language);
- bool new_wallet(const boost::program_options::variables_map& vm, const std::string& device_name);
+ boost::optional<epee::wipeable_string> new_wallet(const boost::program_options::variables_map& vm, const std::string& device_name);
bool open_wallet(const boost::program_options::variables_map& vm);
bool close_wallet();