Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: remove accidentally committed code
Browse files Browse the repository at this point in the history
Something went wrong when rebasing #1668
and some code was introduced which shouldn't be there. This commit
removes that code again.
  • Loading branch information
vmx authored and daviddias committed Oct 31, 2018
1 parent 74edafd commit 66fa8ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
15 changes: 0 additions & 15 deletions src/cli/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,6 @@ const Progress = require('progress')
const byteman = require('byteman')
const promisify = require('promisify-es6')

// All known IPLD formats
const ipldBitcoin = require('ipld-bitcoin')
const ipldDagCbor = require('ipld-dag-cbor')
const ipldDagPb = require('ipld-dag-pb')
const ipldEthAccountSnapshot = require('ipld-ethereum').ethAccountSnapshot
const ipldEthBlock = require('ipld-ethereum').ethBlock
const ipldEthBlockList = require('ipld-ethereum').ethBlockList
const ipldEthStateTrie = require('ipld-ethereum').ethStateTrie
const ipldEthStorageTrie = require('ipld-ethereum').ethStorageTrie
const ipldEthTrie = require('ipld-ethereum').ethTxTrie
const ipldEthTx = require('ipld-ethereum').ethTx
const ipldGit = require('ipld-git')
const ipldRaw = require('ipld-raw')
const ipldZcash = require('ipld-zcash')

exports = module.exports

exports.isDaemonOn = isDaemonOn
Expand Down
4 changes: 1 addition & 3 deletions src/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ class IPFS extends EventEmitter {
multiaddr: multiaddr,
multibase: multibase,
multihash: multihash,
CID: CID,
dagPB: ipldDagPb,
dagCBOR: ipldDagCbor
CID: CID
}

// IPFS Core Internals
Expand Down
6 changes: 1 addition & 5 deletions test/core/init.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const isIPFS = require('is-ipfs')
const multiaddr = require('multiaddr')
const multibase = require('multibase')
const multihash = require('multihashes')
const ipldDagCbor = require('ipld-dag-cbor')
const ipldDagPb = require('ipld-dag-pb')
const CID = require('cids')
const IPFS = require('../../src/core')

Expand Down Expand Up @@ -122,9 +120,7 @@ describe('init', () => {
multiaddr: multiaddr,
multibase: multibase,
multihash: multihash,
CID: CID,
dagPB: ipldDagPb,
dagCBOR: ipldDagCbor
CID: CID
})
})

Expand Down

0 comments on commit 66fa8ef

Please sign in to comment.