diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-07 02:03:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-07 02:03:44 +0800 |
commit | 17182732f50c9cd209a0472bf0944c4029335f14 (patch) | |
tree | f346aa2c1de4c873ba7d7bf847225b2c319c5694 /rpc | |
parent | ac93a6ff6cd1200ab0fb67a5bd0c02cb70646632 (diff) | |
parent | 18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00 (diff) | |
download | go-tangerine-17182732f50c9cd209a0472bf0944c4029335f14.tar.gz go-tangerine-17182732f50c9cd209a0472bf0944c4029335f14.tar.zst go-tangerine-17182732f50c9cd209a0472bf0944c4029335f14.zip |
Merge pull request #3526 from karalabe/misspell
all: fix spelling errors
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: |