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

Commit 0b84b76

Browse files
committed
fix: skip first hash algorithm as it is no longer valid
js-multihash#57 makes the first hash name `id` which cannot be used as a hashing algorithm name so don't try to use it.
1 parent bef3152 commit 0b84b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/builder.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = (repo) => {
1818
describe('builder', () => {
1919
let ipld
2020

21-
const testMultihashes = Object.keys(mh.names).slice(0, 40)
21+
const testMultihashes = Object.keys(mh.names).slice(1, 40)
2222

2323
before(() => {
2424
const bs = new BlockService(repo)

0 commit comments

Comments
 (0)