aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-05 14:52:38 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-05 14:53:46 +0000
commit4b48565c9e8615028cae2c5c1cd4bddac03d5ffb (patch)
treed5850d104bb03a1861ff79b5aa1c5a9fe8f0b80b /src/wallet/wallet2.h
parentMerge pull request #1837 (diff)
downloadmonero-4b48565c9e8615028cae2c5c1cd4bddac03d5ffb.tar.xz
wallet: add password command
Also tweak wallet2 password code to verify password without saying it's a new wallet, because it's assuming things.
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 416b7ea69..982c19fe7 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -114,7 +114,7 @@ namespace tools
static void init_options(boost::program_options::options_description& desc_params);
//! \return Password retrieved from prompt. Logs error on failure.
- static boost::optional<password_container> password_prompt(const bool is_new_wallet);
+ static boost::optional<password_container> password_prompt(const bool new_password);
//! Uses stdin and stdout. Returns a wallet2 if no errors.
static std::unique_ptr<wallet2> make_from_json(const boost::program_options::variables_map& vm, const std::string& json_file);