mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Fix uptiming computing bug.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user