diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-11 21:26:50 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-11 21:26:50 +0200 |
commit | 157690caaae80b84770c7e42236185aecd79b02a (patch) | |
tree | 7a79aaf9b6f2fad6b34adefeb1a355af70c6e0b9 /src/wallet | |
parent | Merge pull request #4219 (diff) | |
parent | wallet_rpc_server: remove some unused code (diff) | |
download | monero-157690caaae80b84770c7e42236185aecd79b02a.tar.xz |
Merge pull request #4352
0664a984 wallet_rpc_server: remove some unused code (moneroexamples)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index a6fe4e244..0e0b2e4eb 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); |