diff --git a/network/context.go b/network/context.go index b9c95e14aaa7ad203e332e0982033c590ea3b935..8c01a5d8063b7bbc142ee2b4ec5ff85c31fc4f7c 100644 --- a/network/context.go +++ b/network/context.go @@ -69,7 +69,7 @@ func WithDialPeerTimeout(ctx context.Context, timeout time.Duration) context.Con return context.WithValue(ctx, dialPeerTimeoutCtxKey{}, timeout) } -// WithUseTransient constructs a new context with an option that instructs to network +// WithUseTransient constructs a new context with an option that instructs the network // that it is acceptable to use a transient connection when opening a new stream. func WithUseTransient(ctx context.Context) context.Context { return context.WithValue(ctx, useTransient, true)