Don't show our validation key in non-admin server_info.

This commit is contained in:
JoelKatz
2013-01-15 17:03:00 -08:00
parent 940cc9059c
commit d398c5bb02
3 changed files with 10 additions and 5 deletions

View File

@@ -243,7 +243,7 @@ public:
int getPreviousConvergeTime() { return mLastCloseConvergeTime; }
uint32 getLastCloseTime() { return mLastCloseTime; }
void setLastCloseTime(uint32 t) { mLastCloseTime = t; }
Json::Value getServerInfo();
Json::Value getServerInfo(bool admin);
uint32 acceptLedger();
boost::unordered_map<uint160,
std::list<LedgerProposal::pointer> >& peekStoredProposals() { return mStoredProposals; }