Co-authored-by: raulk <raul@protocol.ai>
This commit is contained in:
vyzo 2021-03-02 18:19:20 +02:00
parent 2ff5aec80e
commit 86fdad2e31

View File

@ -42,7 +42,8 @@ func WrapIDStore(bstore blockstore.Blockstore) Blockstore {
}
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)
}