diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-01 11:18:50 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-01 12:32:26 +0000 |
commit | 25e5890d37a1b243d4b8aadb45743d715bd4d0f9 (patch) | |
tree | 2cb9f5543d11a7f7e18145cb0dcf15f209c38c73 /src/common/password.h | |
parent | Merge pull request #4333 (diff) | |
download | monero-25e5890d37a1b243d4b8aadb45743d715bd4d0f9.tar.xz |
wallet: fix --generate-from-json using wrong password
Diffstat (limited to 'src/common/password.h')
-rw-r--r-- | src/common/password.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/password.h b/src/common/password.h index 529881e40..beb98283b 100644 --- a/src/common/password.h +++ b/src/common/password.h @@ -47,6 +47,7 @@ namespace tools //! `password` is used as password password_container(std::string&& password) noexcept; + password_container(const epee::wipeable_string& password) noexcept; //! \return A password from stdin TTY prompt or `std::cin` pipe. static boost::optional<password_container> prompt(bool verify, const char *mesage = "Password", bool hide_input = true); |