mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
rpc: fix comment grammar
This commit is contained in:
parent
9dcf8aae47
commit
86116f78fc
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ func isSubscriptionType(t reflect.Type) bool {
|
||||||
return t == subscriptionType
|
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).
|
// returns the pair (Subscription, error).
|
||||||
func isPubSub(methodType reflect.Type) bool {
|
func isPubSub(methodType reflect.Type) bool {
|
||||||
// numIn(0) is the receiver type
|
// numIn(0) is the receiver type
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue