Merge pull request #2902

1741fb5f node_rpc_proxy: remove unused local and time call (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-12-25 21:16:01 +02:00
commit d06f3ea9ad
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -68,7 +68,6 @@ void NodeRPCProxy::invalidate()
boost::optional<std::string> NodeRPCProxy::get_rpc_version(uint32_t &rpc_version) const
{
const time_t now = time(NULL);
if (m_rpc_version == 0)
{
epee::json_rpc::request<cryptonote::COMMAND_RPC_GET_VERSION::request> req_t = AUTO_VAL_INIT(req_t);