aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneroexamples <moneroexamples@tuta.io>2018-09-09 12:35:47 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-09 12:37:01 +0000
commit0664a9842172daff09d051ea0f080f1888252171 (patch)
treed0ce66a4157fed3480a69f2ba3e7cc5ff7e4115b
parentMerge pull request #4290 (diff)
downloadmonero-0664a9842172daff09d051ea0f080f1888252171.tar.xz
wallet_rpc_server: remove some unused code
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet_rpc_server.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 67f26c7a7..9a749cfa2 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -155,16 +155,7 @@ namespace tools
return false;
m_vm = vm;
- tools::wallet2 *walvars;
- std::unique_ptr<tools::wallet2> tmpwal;
- if (m_wallet)
- walvars = m_wallet;
- else
- {
- tmpwal = tools::wallet2::make_dummy(*m_vm, true, password_prompter);
- walvars = tmpwal.get();
- }
boost::optional<epee::net_utils::http::login> http_login{};
std::string bind_port = command_line::get_arg(*m_vm, arg_rpc_bind_port);
const bool disable_auth = command_line::get_arg(*m_vm, arg_disable_rpc_login);