diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/bloom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/bloom.cpp b/src/common/bloom.cpp index c3603b5d2a..a6531b90b3 100644 --- a/src/common/bloom.cpp +++ b/src/common/bloom.cpp @@ -61,7 +61,7 @@ void CBloomFilter::insert(const COutPoint& outpoint) { CDataStream stream(SER_NETWORK, PROTOCOL_VERSION); stream << outpoint; - insert(stream); + insert(MakeUCharSpan(stream)); } bool CBloomFilter::contains(Span<const unsigned char> vKey) const @@ -82,7 +82,7 @@ bool CBloomFilter::contains(const COutPoint& outpoint) const { CDataStream stream(SER_NETWORK, PROTOCOL_VERSION); stream << outpoint; - return contains(stream); + return contains(MakeUCharSpan(stream)); } bool CBloomFilter::IsWithinSizeConstraints() const |