Skip to content

Commit f7d42bc

Browse files
committed
jsonrpc2: fix typo
1 parent 3c3ab4f commit f7d42bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonrpc2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func (c *Conn) Call(ctx context.Context, method string, params, result interface
170170

171171
// We have to add ourselves to the pending map before we send, otherwise we
172172
// are racing the response. Also add a buffer to rchan, so that if we get a
173-
// wire response between the time this call is cancelled and id is deleted
173+
// wire response between the time this call is canceled and id is deleted
174174
// from c.pending, the send to rchan will not block.
175175
rchan := make(chan *WireResponse, 1)
176176
c.pendingMu.Lock()

0 commit comments

Comments
 (0)