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:
@@ -803,7 +803,7 @@ void RippleAddress::setSeedRandom()
|
||||
// XXX Maybe we should call MakeNewKey
|
||||
uint128 key;
|
||||
|
||||
getRand(key.begin(), key.size());
|
||||
RandomNumbers::getInstance ().fillBytes (key.begin(), key.size());
|
||||
|
||||
RippleAddress::setSeed(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user