aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blockfilter.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/blockfilter.cpp b/src/blockfilter.cpp
index 379d3ea170..bcf24047ff 100644
--- a/src/blockfilter.cpp
+++ b/src/blockfilter.cpp
@@ -250,13 +250,10 @@ bool BlockFilter::BuildParams(GCSFilter::Params& params) const
params.m_siphash_k1 = m_block_hash.GetUint64(1);
params.m_P = BASIC_FILTER_P;
params.m_M = BASIC_FILTER_M;
- break;
-
- default:
- return false;
+ return true;
}
- return true;
+ return false;
}
uint256 BlockFilter::GetHash() const