diff --git a/core/bloom/bloom.go b/core/bloom/bloom.go index d6598be1..a3ab8a29 100644 --- a/core/bloom/bloom.go +++ b/core/bloom/bloom.go @@ -69,11 +69,7 @@ func (f *Filter) Exists(data []byte) (bool, error) { if err != nil { return false, err } - if !isSet { - return false, nil - } - - return true, nil + return isSet, nil } func (f *Filter) getLocations(data []byte) []uint {