mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
random: get rid of GetRand by inlining
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#include <vector>
|
||||
|
||||
ByteVectorHash::ByteVectorHash() :
|
||||
m_k0(GetRand<uint64_t>()),
|
||||
m_k1(GetRand<uint64_t>())
|
||||
m_k0(FastRandomContext().rand64()),
|
||||
m_k1(FastRandomContext().rand64())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user