diff --git a/src/index.js b/src/index.js index 90fd03371a..839fc8a227 100644 --- a/src/index.js +++ b/src/index.js @@ -345,7 +345,7 @@ class Node extends EventEmitter { let t if (typeof Transport === 'function') { - t = new Transport() + t = new Transport({ libp2p: this }) } else { t = Transport }