Skip to content

Commit

Permalink
rpc: fix comment grammar (ethereum#29507)
Browse files Browse the repository at this point in the history
  • Loading branch information
Newt6611 authored and jorgemmsilva committed Jun 17, 2024
1 parent c7eb4ed commit 85a46dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func isSubscriptionType(t reflect.Type) bool {
return t == subscriptionType
}

// isPubSub tests whether the given method has as as first argument a context.Context and
// isPubSub tests whether the given method's first argument is a context.Context and
// returns the pair (Subscription, error).
func isPubSub(methodType reflect.Type) bool {
// numIn(0) is the receiver type
Expand Down

0 comments on commit 85a46dc

Please sign in to comment.