From 18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= <peterke@gmail.com> Date: Fri, 6 Jan 2017 19:44:35 +0200 Subject: all: fix spelling errors --- rpc/subscription.go | 2 +- rpc/subscription_test.go | 2 +- rpc/types.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'rpc') 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: -- cgit v1.2.3