1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 23:42:20 +08:00

comments from CR

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy
2015-07-17 10:12:27 -07:00
parent 45d4b1a8bc
commit c6ee2058d9
4 changed files with 6 additions and 8 deletions

View File

@ -52,9 +52,11 @@ type GCBlockstore interface {
}
func NewBlockstore(d ds.Batching) *blockstore {
var dsb ds.Batching
dd := dsns.Wrap(d, BlockPrefix)
dsb = dd
return &blockstore{
datastore: dd,
datastore: dsb,
}
}