Skip to content

fix: make sure Multihashes are always valid#72

Merged
vmx merged 1 commit intomasterfrom
issue-70
Jul 16, 2020
Merged

fix: make sure Multihashes are always valid#72
vmx merged 1 commit intomasterfrom
issue-70

Conversation

@vmx
Copy link
Member

@vmx vmx commented Jul 13, 2020

When a Multihash is created, we make sure that the supplied code is supported,
hence part of the code table. Throw an error if a passed in multihash contains
an unsupported code.

Fixes #70.

When a Multihash is created, we make sure that the supplied code is supported,
hence part of the code table. Throw an error if a passed in multihash contains
an unsupported code.

Fixes #70.
@vmx vmx requested a review from dignifiedquire July 13, 2020 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

thread 'main' panicked at 'Should not occur as multihash is known to be valid'

2 participants