Browse Source

fix typos after Thane's review

Co-Authored-By: melekes <anton.kalyaev@gmail.com>
pull/3227/head
Thane Thomson 6 years ago
committed by GitHub
parent
commit
b30cb5fde9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libs/pubsub/pubsub_test.go
  2. +1
    -1
      rpc/lib/types/types.go

+ 1
- 1
libs/pubsub/pubsub_test.go View File

@ -38,7 +38,7 @@ func TestSubscribe(t *testing.T) {
assertReceive(t, "Quicksilver", subscription.Out())
}
func TestSubscribeWithOutCapacity(t *testing.T) {
func TestSubscribeWithoutCapacity(t *testing.T) {
s := pubsub.NewServer()
s.SetLogger(log.TestingLogger())
s.Start()


+ 1
- 1
rpc/lib/types/types.go View File

@ -251,7 +251,7 @@ type WSRPCContext struct {
WSRPCConnection
}
// EventSubscriber mirros tendermint/tendermint/types.EventBusSubscriber
// EventSubscriber mirrors tendermint/tendermint/types.EventBusSubscriber
type EventSubscriber interface {
Subscribe(ctx context.Context, subscriber string, query tmpubsub.Query, outCapacity ...int) (tmtypes.Subscription, error)
Unsubscribe(ctx context.Context, subscriber string, query tmpubsub.Query) error


Loading…
Cancel
Save