mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add cluster status to 'peers' command output.
This commit is contained in:
@@ -803,6 +803,8 @@ Json::Value RPCHandler::doPeers (Json::Value, LoadType* loadType, ScopedLock& Ma
|
||||
|
||||
jvResult["peers"] = getApp().getPeers ().getPeersJson ();
|
||||
|
||||
getApp().getUNL().addClusterStatus(jvResult);
|
||||
|
||||
return jvResult;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user