mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
changed some RPC returns
This commit is contained in:
@@ -1133,7 +1133,9 @@ Json::Value RPCServer::doPasswordSet(Json::Value& params)
|
||||
Json::Value RPCServer::doPeers(Json::Value& params)
|
||||
{
|
||||
// peers
|
||||
return theApp->getConnectionPool().getPeersJson();
|
||||
Json::Value obj(Json::objectValue);
|
||||
obj['peers']=theApp->getConnectionPool().getPeersJson();
|
||||
return obj;
|
||||
}
|
||||
|
||||
// send regular_seed paying_account account_id amount [currency] [send_max] [send_currency]
|
||||
|
||||
Reference in New Issue
Block a user