aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authortobtoht <thotbot@protonmail.com>2021-06-04 18:59:33 +0200
committertobtoht <thotbot@protonmail.com>2021-07-05 02:49:27 +0200
commitbbeb555f00b97407e1cbd904b3bc732b72f354c3 (patch)
treecd3aa13763ea76a433c4396429a842508b2db785 /src/wallet/api/wallet.cpp
parentMerge pull request #7735 (diff)
downloadmonero-bbeb555f00b97407e1cbd904b3bc732b72f354c3.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 db3049f9e..6141922df 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -837,6 +837,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();