mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
node_rpc_proxy: remove unused local and time call
This commit is contained in:
parent
782a84f7b4
commit
1741fb5f2b
1 changed files with 0 additions and 1 deletions
|
@ -68,7 +68,6 @@ void NodeRPCProxy::invalidate()
|
||||||
|
|
||||||
boost::optional<std::string> NodeRPCProxy::get_rpc_version(uint32_t &rpc_version) const
|
boost::optional<std::string> NodeRPCProxy::get_rpc_version(uint32_t &rpc_version) const
|
||||||
{
|
{
|
||||||
const time_t now = time(NULL);
|
|
||||||
if (m_rpc_version == 0)
|
if (m_rpc_version == 0)
|
||||||
{
|
{
|
||||||
epee::json_rpc::request<cryptonote::COMMAND_RPC_GET_VERSION::request> req_t = AUTO_VAL_INIT(req_t);
|
epee::json_rpc::request<cryptonote::COMMAND_RPC_GET_VERSION::request> req_t = AUTO_VAL_INIT(req_t);
|
||||||
|
|
Loading…
Reference in a new issue