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

Commit e00eb4a

Browse files
author
Alan Shaw
authored
fix: use cidVersion option (#484)
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent b60fe33 commit e00eb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dht/provide.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module.exports = (createCommon, options) => {
7474
})
7575

7676
it('should provide a CIDv1', (done) => {
77-
ipfs.add(Buffer.from('test'), { 'cid-version': 1 }, (err, res) => {
77+
ipfs.add(Buffer.from('test'), { cidVersion: 1 }, (err, res) => {
7878
if (err) return done(err)
7979

8080
const cid = new CID(res[0].hash)

0 commit comments

Comments
 (0)