mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
shortened
This commit is contained in:
parent
17f2146d7b
commit
ed8a490835
@ -85,9 +85,7 @@ void CDarkSendPool::SetNull(bool clearEverything){
|
||||
|
||||
// -- seed random number generator (used for ordering output lists)
|
||||
unsigned int seed = 0;
|
||||
unsigned char vs[32];
|
||||
RAND_bytes(vs, 32);
|
||||
std::memcpy(&seed, &vs, sizeof(seed));
|
||||
RAND_bytes((unsigned char*)&seed, sizeof(seed));
|
||||
std::srand(seed);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user