Skip to content

Commit cdfb408

Browse files
committed
add some newlines
1 parent 479cca1 commit cdfb408

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/libp2p/src/connection-manager/dial-queue.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,10 @@ export class DialQueue {
338338
if (existingConnection?.status === 'open' && (existingConnection?.limits == null || conn?.limits != null)) {
339339
this.log('already connected to %a', existingConnection.remoteAddr)
340340
options?.onProgress?.(new CustomProgressEvent('dial-queue:already-connected'))
341+
341342
this.log('closing duplicate connection to %p', remotePeer)
342343
await conn.close()
344+
343345
return existingConnection
344346
}
345347

0 commit comments

Comments
 (0)