diff options
author | tobtoht <thotbot@protonmail.com> | 2021-06-04 18:59:33 +0200 |
---|---|---|
committer | tobtoht <thotbot@protonmail.com> | 2021-07-05 02:49:27 +0200 |
commit | bbeb555f00b97407e1cbd904b3bc732b72f354c3 (patch) | |
tree | cd3aa13763ea76a433c4396429a842508b2db785 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #7735 (diff) | |
download | monero-bbeb555f00b97407e1cbd904b3bc732b72f354c3.tar.xz |
wallet_api: getPassword
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r-- | src/wallet/api/wallet.cpp | 5 |
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(); |