mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Reduce nesting and remove dead code
This commit is contained in:
committed by
manojsdoshi
parent
7e97bfce10
commit
0a1fb4e6ca
@@ -415,7 +415,7 @@ public:
|
||||
}
|
||||
{
|
||||
// Examine current PerfLog::counterJson() values.
|
||||
Json::Value const countersJson{perfLog->countersJson()["rpc"]};
|
||||
Json::Value const countersJson{perfLog->countersJson()[jss::rpc]};
|
||||
BEAST_EXPECT(countersJson.size() == labels.size() + 1);
|
||||
for (auto& label : labels)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user