Skip to content

Commit

Permalink
fix typo in jsonrpc2/stream.go (#47)
Browse files Browse the repository at this point in the history
Co-authored-by: xiarui.xr <xiarui.xr@antfin.com>
  • Loading branch information
amyXia1994 and xiarui.xr authored May 26, 2021
1 parent 99f63e0 commit 5cdc7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (t *bufferedObjectStream) Close() error {
return t.conn.Close()
}

// An ObjectCodec specifies how to encoed and decode a JSON-RPC 2.0
// An ObjectCodec specifies how to encode and decode a JSON-RPC 2.0
// object in a stream.
type ObjectCodec interface {
// WriteObject writes a JSON-RPC 2.0 object to the stream.
Expand Down

0 comments on commit 5cdc7d6

Please sign in to comment.