From bbeb555f00b97407e1cbd904b3bc732b72f354c3 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 4 Jun 2021 18:59:33 +0200 Subject: wallet_api: getPassword --- src/wallet/api/wallet.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/api/wallet.cpp') 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(); -- cgit v1.2.3