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

Commit 5e9102e

Browse files
committed
feat: move circuit options under Experimental section
1 parent 1f83d21 commit 5e9102e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/components/libp2p.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
const Node = require('../runtime/libp2p-nodejs')
55
const promisify = require('promisify-es6')
66
const get = require('lodash.get')
7-
const mapKeys = require('lodash.mapKeys')
87

98
module.exports = function libp2p (self) {
109
return {
@@ -30,8 +29,6 @@ module.exports = function libp2p (self) {
3029
}
3130
}
3231

33-
options.relay = mapKeys(get(config, 'Relay'), (v, k) => k.toLowerCase())
34-
3532
self._libp2pNode = new Node(self._peerInfo, self._peerInfoBook, options)
3633

3734
self._libp2pNode.on('peer:discovery', (peerInfo) => {

0 commit comments

Comments
 (0)