remove stale comment

This commit is contained in:
vyzo 2022-02-21 13:56:55 +02:00
parent 53881b2b0b
commit f50fa5792c
1 changed files with 0 additions and 2 deletions

View File

@ -74,8 +74,6 @@ func (ds *dialSync) getActiveDial(p peer.ID) (*activeDial, error) {
if !ok {
// This code intentionally uses the background context. Otherwise, if the first call
// to Dial is canceled, subsequent dial calls will also be canceled.
// XXX: this also breaks direct connection logic. We will need to pipe the
// information through some other way.
ctx, cancel := context.WithCancel(context.Background())
actd = &activeDial{
ctx: ctx,