diff --git a/namespace/namespace.go b/namespace/namespace.go index 21329b0..17b5464 100644 --- a/namespace/namespace.go +++ b/namespace/namespace.go @@ -84,8 +84,6 @@ func prefixed(prefix, key []byte) []byte { // Iterator creates a new iterator instance func (nstore *namespaceStore) Iterator(ctx context.Context, opts corekv.IterOptions) corekv.Iterator { - // we can use unsafe here since we already aquired locks - // either prefix (priority) or start/end if opts.Prefix != nil { opts.Prefix = nstore.prefixed(opts.Prefix) } else {