diff options
author | tobtoht <thotbot@protonmail.com> | 2021-06-04 18:59:33 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-08-07 03:03:40 +0200 |
commit | d188b5f51f088d5740b0c9a8dda99bc2ee92b51b (patch) | |
tree | 78e42aaa6c0dde91fcc30d2172faed1964c98d0a /src/wallet/api/wallet.cpp | |
parent | depends, docker: fix bintray links (diff) | |
download | monero-d188b5f51f088d5740b0c9a8dda99bc2ee92b51b.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 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(); |