mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
changed server_info RPC
This commit is contained in:
@@ -1233,7 +1233,9 @@ Json::Value RPCServer::doSend(Json::Value& params)
|
||||
|
||||
Json::Value RPCServer::doServerInfo(Json::Value& params)
|
||||
{
|
||||
return theApp->getOPs().getServerInfo();
|
||||
Json::Value ret(Json::objectValue);
|
||||
ret["info"]=theApp->getOPs().getServerInfo();
|
||||
return ret;
|
||||
}
|
||||
|
||||
// transit_set <seed> <paying_account> <transit_rate> <starts> <expires>
|
||||
|
||||
Reference in New Issue
Block a user