aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/password_container.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-06-12 16:45:29 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-06-12 16:45:29 +0100
commitfb2007181ed453ee54369d02b98856e4dcf3045d (patch)
treec853db39bae3e019e096157fc9e790cce69586ab /src/simplewallet/password_container.h
parentwallet: add watch only wallet support (diff)
downloadmonero-fb2007181ed453ee54369d02b98856e4dcf3045d.tar.xz
simplewallet: allow a different password for the watch-only wallet
Diffstat (limited to '')
-rw-r--r--src/simplewallet/password_container.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/password_container.h b/src/simplewallet/password_container.h
index 8a4191c7a..56dd44cfa 100644
--- a/src/simplewallet/password_container.h
+++ b/src/simplewallet/password_container.h
@@ -48,7 +48,7 @@ namespace tools
bool empty() const { return m_empty; }
const std::string& password() const { return m_password; }
void password(std::string&& val) { m_password = std::move(val); m_empty = false; }
- bool read_password();
+ bool read_password(const char *message = "password");
private:
bool read_from_file();