fix typo
Co-authored-by: raulk <raul@protocol.ai>
This commit is contained in:
parent
2ff5aec80e
commit
86fdad2e31
@ -42,7 +42,8 @@ func WrapIDStore(bstore blockstore.Blockstore) Blockstore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if bs, ok := bstore.(Blockstore); ok {
|
if bs, ok := bstore.(Blockstore); ok {
|
||||||
// we need to wrap our own becase we don't want to neuter the DeleteMany method
|
// we need to wrap our own because we don't want to neuter the DeleteMany method
|
||||||
|
// the underlying blockstore has implemented an (efficient) DeleteMany
|
||||||
return NewIDStore(bs)
|
return NewIDStore(bs)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user