Commit 3854894 1 parent 4533365 commit 3854894 Copy full SHA for 3854894
File tree 2 files changed +0
-2
lines changed
2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -500,7 +500,6 @@ export class DefaultConnectionManager extends EventEmitter<ConnectionManagerEven
500
500
}
501
501
502
502
try {
503
- // @ts -expect-error until https://github.com/libp2p/js-libp2p-interfaces/pull/351 is merged
504
503
const connection = await this . components . dialer . dial ( peerIdOrMultiaddr , options )
505
504
let peerConnections = this . connections . get ( connection . remotePeer . toString ( ) )
506
505
Original file line number Diff line number Diff line change @@ -365,7 +365,6 @@ export class Libp2pNode extends EventEmitter<Libp2pEvents> implements Libp2p {
365
365
}
366
366
367
367
async dial ( peer : PeerId | Multiaddr | Multiaddr [ ] , options : AbortOptions = { } ) : Promise < Connection > {
368
- // @ts -expect-error
369
368
return await this . components . connectionManager . openConnection ( peer , options )
370
369
}
371
370
You can’t perform that action at this time.
0 commit comments