ipfs / ipld-explorer-components

React components for https://explore.ipld.io and ipfs-webui
Other
24 stars 23 forks source link

Broken CID info for identity multihashes #464

Open lidel opened 9 hours ago

lidel commented 9 hours ago

Inspecting a CID with identity multihash (like bafkqaddjnzzxazldoqwxizltoq or bafkqablimvwgy3y) produces error and breaks "CID info" section:

image

lidel commented 8 hours ago

I think maybe

https://github.com/ipfs/ipld-explorer-components/blob/db2fed44103b6afde8db70afee2435be288d7020/src/lib/hash-importer.ts#L7-L14

is missing https://github.com/multiformats/js-multiformats/blob/master/src/hashes/identity.ts ?

Anyway, @SgtPooki mind taking a look at this next week, and if easy to fix, tag a patch release? :pray: