aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxincaosu <xincaosu@126.com>2018-06-11 17:01:13 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-11 17:01:13 +0800
commit1d666cf27ec366a967d9afa0e8a370cb4cf33481 (patch)
tree737f188c1adc1cf81d8d04514baa45d6a2b47bf0
parenteac16f98243206bee99c3daaa8aef08695f5b69e (diff)
downloadgo-tangerine-1d666cf27ec366a967d9afa0e8a370cb4cf33481.tar
go-tangerine-1d666cf27ec366a967d9afa0e8a370cb4cf33481.tar.gz
go-tangerine-1d666cf27ec366a967d9afa0e8a370cb4cf33481.tar.bz2
go-tangerine-1d666cf27ec366a967d9afa0e8a370cb4cf33481.tar.lz
go-tangerine-1d666cf27ec366a967d9afa0e8a370cb4cf33481.tar.xz
go-tangerine-1d666cf27ec366a967d9afa0e8a370cb4cf33481.tar.zst
go-tangerine-1d666cf27ec366a967d9afa0e8a370cb4cf33481.zip
rpc: fix a comment typo (#16929)
-rw-r--r--rpc/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/server.go b/rpc/server.go
index 7f304d8d9..2b7393dd2 100644
--- a/rpc/server.go
+++ b/rpc/server.go
@@ -145,7 +145,7 @@ func (s *Server) serveRequest(ctx context.Context, codec ServerCodec, singleShot
defer cancel()
// if the codec supports notification include a notifier that callbacks can use
- // to send notification to clients. It is thight to the codec/connection. If the
+ // to send notification to clients. It is tied to the codec/connection. If the
// connection is closed the notifier will stop and cancels all active subscriptions.
if options&OptionSubscriptions == OptionSubscriptions {
ctx = context.WithValue(ctx, notifierKey{}, newNotifier(codec))