From a55b876477f2e892a02f86f61c7176da61f19e51 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 7 Mar 2013 14:57:08 -0800 Subject: [PATCH] Fix uptiming computing bug. --- src/cpp/ripple/RPCHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/RPCHandler.cpp b/src/cpp/ripple/RPCHandler.cpp index 412853584c..3687fca002 100644 --- a/src/cpp/ripple/RPCHandler.cpp +++ b/src/cpp/ripple/RPCHandler.cpp @@ -2020,7 +2020,7 @@ Json::Value RPCHandler::doGetCounts(Json::Value jvRequest) int s = upTime(); textTime(uptime, s, "year", 365*24*60*60); textTime(uptime, s, "day", 24*60*60); - textTime(uptime, s, "hour", 24*60); + textTime(uptime, s, "hour", 60*60); textTime(uptime, s, "minute", 60); textTime(uptime, s, "second", 1); ret["uptime"] = uptime;