aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-12-25 21:16:01 +0200
committerRiccardo Spagni <ric@spagni.net>2017-12-25 21:16:01 +0200
commitd06f3ea9ad9f8e0d40de4986e9cd6b9ff761e0a2 (patch)
tree5ef2705f2752b38433263ec6cd676c1c1d8c51ad
parentMerge pull request #2899 (diff)
parentnode_rpc_proxy: remove unused local and time call (diff)
downloadmonero-d06f3ea9ad9f8e0d40de4986e9cd6b9ff761e0a2.tar.xz
Merge pull request #2902
1741fb5f node_rpc_proxy: remove unused local and time call (moneromooo-monero)
-rw-r--r--src/wallet/node_rpc_proxy.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/node_rpc_proxy.cpp b/src/wallet/node_rpc_proxy.cpp
index 9f30e4ac5..07185d12c 100644
--- a/src/wallet/node_rpc_proxy.cpp
+++ b/src/wallet/node_rpc_proxy.cpp
@@ -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);