mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Reduce master lock scope in some RPC functions
This commit is contained in:
@@ -31,8 +31,6 @@ namespace ripple {
|
||||
// }
|
||||
Json::Value doGetCounts (RPC::Context& context)
|
||||
{
|
||||
auto lock = getApp().masterLock();
|
||||
|
||||
int minCount = 10;
|
||||
|
||||
if (context.params.isMember (jss::min_count))
|
||||
|
||||
Reference in New Issue
Block a user