diff options
author | stoffu <stoffu@protonmail.ch> | 2018-07-30 20:39:05 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-07-30 20:39:05 +0900 |
commit | f13c7a8263139afe127f3c8cf34277334e24700a (patch) | |
tree | 4d4f67dfd337d81dfa755ae209e29a3521122265 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #4088 (diff) | |
download | monero-f13c7a8263139afe127f3c8cf34277334e24700a.tar.xz |
simplewallet: make sure wallet config is stored right after creation
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r-- | src/simplewallet/simplewallet.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 1f2765055..4de8c58a5 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(); |