aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/idx-bloom/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/idx-bloom/main.go b/cmd/idx-bloom/main.go
index 62fb347b..fa471237 100644
--- a/cmd/idx-bloom/main.go
+++ b/cmd/idx-bloom/main.go
@@ -86,7 +86,7 @@ func buildFilter(objectFormat id.ObjectFormat, index *packidx.Packidx) ([]byte,
return nil, fmt.Errorf("choosing parameters: %w", err)
}
- builder, err := bloom.NewBuilder(objectFormat, bucketCount, k)
+ builder, err := bloom.NewBuilder(objectFormat, bucketCount, k, index.PackHash())
if err != nil {
return nil, fmt.Errorf("creating builder: %w", err)
}