Skip to content

Commit e4cfa69

Browse files
authored
fix(p2p): do make announce blocking (reverts)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 6c3c500 commit e4cfa69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/discovery/dht.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (d *DHT) Run(c log.StandardLogger, ctx context.Context, host host.Host) err
123123
for {
124124
select {
125125
case <-t.C:
126-
go connect()
126+
connect()
127127
case <-ctx.Done():
128128
return
129129
}

0 commit comments

Comments
 (0)