diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/subscription.go | 2 | ||||
-rw-r--r-- | rpc/subscription_test.go | 2 | ||||
-rw-r--r-- | rpc/types.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/rpc/subscription.go b/rpc/subscription.go index 863d34b20..bcdc3cdfc 100644 --- a/rpc/subscription.go +++ b/rpc/subscription.go @@ -30,7 +30,7 @@ var ( ErrSubscriptionNotFound = errors.New("subscription not found") ) -// ID defines a psuedo random number that is used to identify RPC subscriptions. +// ID defines a pseudo random number that is used to identify RPC subscriptions. type ID string // a Subscription is created by a notifier and tight to that notifier. The client can use diff --git a/rpc/subscription_test.go b/rpc/subscription_test.go index 8bb341694..97f2c0d65 100644 --- a/rpc/subscription_test.go +++ b/rpc/subscription_test.go @@ -62,7 +62,7 @@ func (s *NotificationTestService) SomeSubscription(ctx context.Context, n, val i subscription := notifier.CreateSubscription() go func() { - // test expects n events, if we begin sending event immediatly some events + // test expects n events, if we begin sending event immediately some events // will probably be dropped since the subscription ID might not be send to // the client. time.Sleep(5 * time.Second) diff --git a/rpc/types.go b/rpc/types.go index 01b95a170..d8d736efb 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -135,7 +135,7 @@ const ( LatestBlockNumber = BlockNumber(-1) ) -// UnmarshalJSON parses the given JSON fragement into a BlockNumber. It supports: +// UnmarshalJSON parses the given JSON fragment into a BlockNumber. It supports: // - "latest", "earliest" or "pending" as string arguments // - the block number // Returned errors: |