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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/bloom.cpp b/src/common/bloom.cpp
index 5c3ad882a1..ca6af90b76 100644
--- a/src/common/bloom.cpp
+++ b/src/common/bloom.cpp
@@ -98,8 +98,8 @@ bool CBloomFilter::IsRelevantAndUpdate(const CTransaction& tx)
// for finding tx when they appear in a block
if (vData.empty()) // zero-size = "match-all" filter
return true;
- const uint256& hash = tx.GetHash();
- if (contains(hash))
+ const Txid& hash = tx.GetHash();
+ if (contains(hash.ToUint256()))
fFound = true;
for (unsigned int i = 0; i < tx.vout.size(); i++)