mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 07:52:25 +00:00
wallet_rpc_server: remove some unused code
This commit is contained in:
parent
fad88e18a9
commit
0664a98421
1 changed files with 0 additions and 9 deletions
|
@ -155,16 +155,7 @@ namespace tools
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
m_vm = vm;
|
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{};
|
boost::optional<epee::net_utils::http::login> http_login{};
|
||||||
std::string bind_port = command_line::get_arg(*m_vm, arg_rpc_bind_port);
|
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);
|
const bool disable_auth = command_line::get_arg(*m_vm, arg_disable_rpc_login);
|
||||||
|
|
Loading…
Reference in a new issue