Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

fix: throw if asked to delete a block we don't have #88

Merged
merged 3 commits into from
Apr 16, 2020

Conversation

achingbrain
Copy link
Member

This is to be consistent with go-IPFS

BREAKING CHANGE:

bs.delete(cid) used to ignore mystery CIDs, now it throws.

This is to be consistent with go-IPFS

BREAKING CHANGE:

`bs.delete(cid)` used to ignore mystery CIDs, now it throws.
@achingbrain achingbrain requested a review from dirkmc October 4, 2019 16:54
@achingbrain achingbrain requested a review from vmx April 15, 2020 10:04
Copy link
Member

@vmx vmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry that this one slipped my attention.

@vmx vmx merged commit 4ffb28c into master Apr 16, 2020
@vmx vmx deleted the throw-if-asked-to-delete-non-existent-block branch April 16, 2020 15:19
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants