p2p: fix typo (#8836)

This commit is contained in:
Ian Jungyong Um
2022-06-22 16:30:11 +09:00
committed by GitHub
parent 8860e027a8
commit 2e11760fbe

View File

@@ -68,7 +68,7 @@ type RouterOptions struct {
// seconds between submitting each peer to be dialed.
DialSleep func(context.Context)
// NumConcrruentDials controls how many parallel go routines
// NumConcurrentDials controls how many parallel go routines
// are used to dial peers. This defaults to the value of
// runtime.NumCPU.
NumConcurrentDials func() int