Skip to content

Commit

Permalink
docs(libp2p): fix typo in circuit-relay debug log (#1981)
Browse files Browse the repository at this point in the history
Co-authored-by: Chad Nehemiah <[email protected]>
  • Loading branch information
tabcat and maschad committed Aug 18, 2023
1 parent 1249475 commit f3fd7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/libp2p/src/circuit-relay/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class CircuitRelayServer extends EventEmitter<RelayServerEvents> implements Star
await hopstr.write({ type: HopMessage.Type.STATUS, status: Status.OK })
const sourceStream = stream.unwrap()

log('connection from %p to %p established - merging streans', connection.remotePeer, dstPeer)
log('connection from %p to %p established - merging streams', connection.remotePeer, dstPeer)
const limit = this.reservationStore.get(dstPeer)?.limit
// Short circuit the two streams to create the relayed connection
createLimitedRelay(sourceStream, destinationStream, this.shutdownController.signal, limit)
Expand Down

0 comments on commit f3fd7b6

Please sign in to comment.