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

Commit 524e22d

Browse files
committed
chore: use same hash for empty node as go
1 parent 4eb417c commit 524e22d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/importer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ module.exports = (repo) => {
214214
expect(err).to.not.exist()
215215
expect(nodes.length).to.be.eql(1)
216216
// always yield empty node
217-
expect(mh.toB58String(nodes[0].multihash)).to.be.eql('QmfJMCvenrj4SKKRc48DYPxwVdS44qCUCqqtbqhJuSTWXP')
217+
expect(mh.toB58String(nodes[0].multihash)).to.be.eql('QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH')
218218
done()
219219
}))
220220
})

test/with-dag-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ describe('with dag-api', function () {
225225
expect(err).to.not.exist()
226226
expect(nodes.length).to.be.eql(1)
227227
// always yield empty node
228-
expect(mh.toB58String(nodes[0].multihash)).to.be.eql('QmfJMCvenrj4SKKRc48DYPxwVdS44qCUCqqtbqhJuSTWXP')
228+
expect(mh.toB58String(nodes[0].multihash)).to.be.eql('QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH')
229229
done()
230230
}))
231231
})

0 commit comments

Comments
 (0)