File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -165,14 +165,11 @@ export class Libp2pNode extends EventEmitter<Libp2pEvents> implements Libp2p {
165
165
this . components . transportManager . add ( this . configureComponent ( fn ( this . components ) ) )
166
166
} )
167
167
168
- // Attach stream multiplexers
169
- if ( init . streamMuxers != null && init . streamMuxers . length > 0 ) {
170
- // Add the identify service since we can multiplex
171
- this . identifyService = new IdentifyService ( this . components , {
172
- ...init . identify
173
- } )
174
- this . configureComponent ( this . identifyService )
175
- }
168
+ // Add the identify service
169
+ this . identifyService = new IdentifyService ( this . components , {
170
+ ...init . identify
171
+ } )
172
+ this . configureComponent ( this . identifyService )
176
173
177
174
// dht provided components (peerRouting, contentRouting, dht)
178
175
if ( init . dht != null ) {
You can’t perform that action at this time.
0 commit comments