aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authortobtoht <thotbot@protonmail.com>2021-06-04 18:59:33 +0200
committerselsta <selsta@sent.at>2021-08-07 03:03:40 +0200
commitd188b5f51f088d5740b0c9a8dda99bc2ee92b51b (patch)
tree78e42aaa6c0dde91fcc30d2172faed1964c98d0a /src/wallet/api/wallet.cpp
parentdepends, docker: fix bintray links (diff)
downloadmonero-d188b5f51f088d5740b0c9a8dda99bc2ee92b51b.tar.xz
wallet_api: getPassword
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index ff10eb519..94edba213 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -839,6 +839,11 @@ bool WalletImpl::setPassword(const std::string &password)
return status() == Status_Ok;
}
+const std::string& WalletImpl::getPassword() const
+{
+ return m_password;
+}
+
bool WalletImpl::setDevicePin(const std::string &pin)
{
clearStatus();