Return size in bufbs.GetSize
This commit is contained in:
parent
54c0ae17f4
commit
df801470ca
@ -109,7 +109,7 @@ func (bs *BufferedBS) GetSize(c cid.Cid) (int, error) {
|
||||
return bs.write.GetSize(c)
|
||||
}
|
||||
|
||||
return 0, err
|
||||
return s, err
|
||||
}
|
||||
|
||||
func (bs *BufferedBS) Put(blk block.Block) error {
|
||||
|
Loading…
Reference in New Issue
Block a user