aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
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/wallet2_api.h
parentMerge pull request #7735 (diff)
downloadmonero-bbeb555f00b97407e1cbd904b3bc732b72f354c3.tar.xz
wallet_api: getPassword
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index e34332734..35516b35d 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -456,6 +456,7 @@ struct Wallet
//! returns both error and error string atomically. suggested to use in instead of status() and errorString()
virtual void statusWithErrorString(int& status, std::string& errorString) const = 0;
virtual bool setPassword(const std::string &password) = 0;
+ virtual const std::string& getPassword() const = 0;
virtual bool setDevicePin(const std::string &pin) { (void)pin; return false; };
virtual bool setDevicePassphrase(const std::string &passphrase) { (void)passphrase; return false; };
virtual std::string address(uint32_t accountIndex = 0, uint32_t addressIndex = 0) const = 0;