File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ipfs-unixfs-exporter/test/helpers
ipfs-unixfs-importer/test/helpers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const mh = require('multihashing-async').multihash
66
77module . exports = ( ipld ) => {
88 // make ipld behave like the block api, some tests need to pull
9- // data from ipld so can't use use a simple hash
9+ // data from ipld so can't use a simple in-memory cid->block map
1010 return {
1111 put : async ( buf , { cid } ) => {
1212 const multihash = mh . decode ( cid . multihash )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const mh = require('multihashing-async').multihash
66
77module . exports = ( ipld ) => {
88 // make ipld behave like the block api, some tests need to pull
9- // data from ipld so can't use use a simple hash
9+ // data from ipld so can't use a simple in-memory cid->block map
1010 return {
1111 put : async ( buf , { cid } ) => {
1212 const multihash = mh . decode ( cid . multihash )
You can’t perform that action at this time.
0 commit comments