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

Clean up #49

Merged
merged 3 commits into from
Jun 28, 2016
Merged

Clean up #49

merged 3 commits into from
Jun 28, 2016

Conversation

daviddias
Copy link
Contributor

No description provided.

if (!isIPFS.multihash(hash)) {
throw new Error('not valid multihash')
}
if (Buffer.isBuffer(hash)) {
hash = bs58.encode(hash)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why was this removed? It breaks functionality. :( Fixed in #52

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for catching it, tests didn't detect it

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.

3 participants