mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make sure that handlers always return Json::objectValue.
This commit is contained in:
@@ -239,6 +239,7 @@ public:
|
||||
return getJson (warningThreshold);
|
||||
}
|
||||
|
||||
/** Returns a Json::objectValue. */
|
||||
Json::Value getJson (int threshold)
|
||||
{
|
||||
clock_type::time_point const now (m_clock.now());
|
||||
|
||||
Reference in New Issue
Block a user