aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-07-10 17:57:39 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-07-10 17:57:39 -0400
commitc53e22c40a997e85c9bd1e841402f6a38c850a97 (patch)
tree2294fc2d41faee1c37ff55348662b67db4f54de3 /src/wallet/api/wallet2_api.h
parentMerge pull request #7743 (diff)
parentwallet_api: getPassword (diff)
downloadmonero-c53e22c40a997e85c9bd1e841402f6a38c850a97.tar.xz
Merge pull request #7748
bbeb555 wallet_api: getPassword (tobtoht)
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 99a4de731..a08033033 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;