Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

return the correct size when only "has" is cached #36

Merged
merged 2 commits into from
Dec 9, 2019
Merged

Conversation

Stebalien
Copy link
Member

Without this, we'd return -1 if we'd previously called Has. I'm pretty sure we always call GetSize (at least from bitswap) but we need to fix this regardless.

@Stebalien Stebalien requested a review from dirkmc December 9, 2019 13:01
@Stebalien Stebalien merged commit 5c0c8bd into master Dec 9, 2019
Jorropo pushed a commit to ipfs/go-libipfs-rapide that referenced this pull request Mar 23, 2023
return the correct size when only "has" is cached

This commit was moved from ipfs/go-ipfs-blockstore@5c0c8bd
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants