Refactor free functions into RandomNumbers

This commit is contained in:
Vinnie Falco
2013-06-04 12:38:54 -07:00
parent 882102e9fd
commit 0523d6a054
16 changed files with 223 additions and 54 deletions

View File

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