fix typos after Thane's review

Co-Authored-By: melekes <anton.kalyaev@gmail.com>
This commit is contained in:
Thane Thomson 2019-02-12 21:57:07 +04:00 committed by GitHub
parent 95dc174b97
commit b30cb5fde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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()

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