mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 03:55:53 +00:00
Refactor free functions into RandomNumbers
This commit is contained in:
@@ -1782,7 +1782,7 @@ bool NetworkOPs::subServer(InfoSub::ref isrListener, Json::Value& jvResult)
|
||||
if (theConfig.TESTNET)
|
||||
jvResult["testnet"] = theConfig.TESTNET;
|
||||
|
||||
getRand(uRandom.begin(), uRandom.size());
|
||||
RandomNumbers::getInstance ().fillBytes (uRandom.begin(), uRandom.size());
|
||||
jvResult["random"] = uRandom.ToString();
|
||||
jvResult["server_status"] = strOperatingMode();
|
||||
jvResult["load_base"] = theApp->getFeeTrack().getLoadBase();
|
||||
|
||||
Reference in New Issue
Block a user