aboutsummaryrefslogtreecommitdiff
path: root/src/common/bloom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/bloom.cpp')
-rw-r--r--src/common/bloom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/bloom.cpp b/src/common/bloom.cpp
index ca6af90b76..076ee40635 100644
--- a/src/common/bloom.cpp
+++ b/src/common/bloom.cpp
@@ -239,7 +239,7 @@ bool CRollingBloomFilter::contains(Span<const unsigned char> vKey) const
void CRollingBloomFilter::reset()
{
- nTweak = GetRand<unsigned int>();
+ nTweak = FastRandomContext().rand<unsigned int>();
nEntriesThisGeneration = 0;
nGeneration = 1;
std::fill(data.begin(), data.end(), 0);