mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor free functions into RandomNumbers
This commit is contained in:
@@ -1276,7 +1276,7 @@ Json::Value RPCHandler::doRandom(Json::Value jvRequest, int& cost, ScopedLock& M
|
||||
|
||||
try
|
||||
{
|
||||
getRand(uRandom.begin(), uRandom.size());
|
||||
RandomNumbers::getInstance ().fillBytes (uRandom.begin(), uRandom.size());
|
||||
|
||||
Json::Value jvResult;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user