aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-07-20 04:31:58 +0000
committerxiphon <xiphon@protonmail.com>2020-07-20 13:45:12 +0000
commit76c16822d09fbebbc792dc999ea2d3432a63253a (patch)
treee7b5e168f20c2f9a7b8a8e1e3dddd849e2f396f8 /src/wallet/api/wallet_manager.cpp
parentMerge pull request #6586 (diff)
downloadmonero-76c16822d09fbebbc792dc999ea2d3432a63253a.tar.xz
wallet2_api: implement runtime proxy configuration
Diffstat (limited to 'src/wallet/api/wallet_manager.cpp')
-rw-r--r--src/wallet/api/wallet_manager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp
index 69d17eb02..900fe91e5 100644
--- a/src/wallet/api/wallet_manager.cpp
+++ b/src/wallet/api/wallet_manager.cpp
@@ -375,6 +375,10 @@ std::tuple<bool, std::string, std::string, std::string, std::string> WalletManag
return std::make_tuple(false, "", "", "", "");
}
+bool WalletManagerImpl::setProxy(const std::string &address)
+{
+ return m_http_client.set_proxy(address);
+}
///////////////////// WalletManagerFactory implementation //////////////////////
WalletManager *WalletManagerFactory::getWalletManager()