diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-07-10 17:57:39 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-07-10 17:57:39 -0400 |
| commit | c53e22c40a997e85c9bd1e841402f6a38c850a97 (patch) | |
| tree | 2294fc2d41faee1c37ff55348662b67db4f54de3 /src/wallet/api/wallet.cpp | |
| parent | 9c18f2767bc62796eacb0428ac50abf8fc5c14dd (diff) | |
| parent | bbeb555f00b97407e1cbd904b3bc732b72f354c3 (diff) | |
| download | monzero-core-c53e22c40a997e85c9bd1e841402f6a38c850a97.tar.gz monzero-core-c53e22c40a997e85c9bd1e841402f6a38c850a97.tar.xz monzero-core-c53e22c40a997e85c9bd1e841402f6a38c850a97.zip | |
Merge pull request #7748
bbeb555 wallet_api: getPassword (tobtoht)
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 2b0349501..8da99eb0c 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -836,6 +836,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(); |
