File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/libp2p/src/connection-manager Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -172,25 +172,25 @@ export class AutoDial implements Startable {
172172 ( peer ) => {
173173 // Remove peers without addresses
174174 if ( peer . addresses . length === 0 ) {
175- log . trace ( 'not autodialing %p because they have no addresses' )
175+ log . trace ( 'not autodialing %p because they have no addresses' , peer . id )
176176 return false
177177 }
178178
179179 // remove peers we are already connected to
180180 if ( connections . has ( peer . id ) ) {
181- log . trace ( 'not autodialing %p because they are already connected' )
181+ log . trace ( 'not autodialing %p because they are already connected' , peer . id )
182182 return false
183183 }
184184
185185 // remove peers we are already dialling
186186 if ( dialQueue . has ( peer . id ) ) {
187- log . trace ( 'not autodialing %p because they are already being dialed' )
187+ log . trace ( 'not autodialing %p because they are already being dialed' , peer . id )
188188 return false
189189 }
190190
191191 // remove peers already in the autodial queue
192192 if ( this . queue . hasJob ( peer . id ) ) {
193- log . trace ( 'not autodialing %p because they are already being autodialed' )
193+ log . trace ( 'not autodialing %p because they are already being autodialed' , peer . id )
194194 return false
195195 }
196196
You can’t perform that action at this time.
0 commit comments