From ac2ecf385afcee08e5353479626486e8addddcb5 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 4 Feb 2021 00:18:42 +0200 Subject: [PATCH] Update network/context.go Co-authored-by: Yusef Napora --- network/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/context.go b/network/context.go index b9c95e1..8c01a5d 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) -- GitLab