diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-17 14:10:02 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-21 07:46:34 +0200 |
commit | 8f3f94a470cdc7195efdbafd45ea03e6c707d9c8 (patch) | |
tree | 848534bd7e65b1c81e2893e9957c1254090582c1 /src/bloom.cpp | |
parent | 98e84aae7ad1e4e18d2292f1ddeeb517432b4c42 (diff) |
Revert "CBloomFilter::clear() method"
This reverts commit 8fbf03995df9a2003be603be1a930bc3373d56e0.
Diffstat (limited to 'src/bloom.cpp')
-rw-r--r-- | src/bloom.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bloom.cpp b/src/bloom.cpp index 85a2ddc189..26e366179c 100644 --- a/src/bloom.cpp +++ b/src/bloom.cpp @@ -94,13 +94,6 @@ bool CBloomFilter::contains(const uint256& hash) const return contains(data); } -void CBloomFilter::clear() -{ - vData.assign(vData.size(),0); - isFull = false; - isEmpty = true; -} - bool CBloomFilter::IsWithinSizeConstraints() const { return vData.size() <= MAX_BLOOM_FILTER_SIZE && nHashFuncs <= MAX_HASH_FUNCS; |