Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
chore: use libp2p options on ctl
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jul 16, 2019
1 parent f9fd64d commit 1e93916
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/kad-dht.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ const spawnGoDaemon = (bootstrap = [], callback) => {
const spawnJsDaemon = (bootstrap = [], callback) => {
jsDf.spawn({
initOptions: { bits: 512 },
config: getConfig(bootstrap)
config: getConfig(bootstrap),
libp2p: {
config: {
dht: {
enabled: true
}
}
}
}, callback)
}

Expand Down

0 comments on commit 1e93916

Please sign in to comment.