changed server_info RPC

This commit is contained in:
jed
2012-06-19 12:34:57 -07:00
parent 397a47a718
commit 00e8a930ff
2 changed files with 10 additions and 8 deletions

View File

@@ -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>