node_rpc_proxy: remove unused local and time call

This commit is contained in:
moneromooo-monero 2017-10-30 23:56:28 +00:00
parent 782a84f7b4
commit 1741fb5f2b
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

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);