fix NewPubsub docstring

This commit is contained in:
vyzo 2018-05-05 09:48:28 +03:00 committed by Steven Allen
parent 1dc8405449
commit 1b4fbb865d

View File

@ -133,7 +133,7 @@ type RPC struct {
type Option func(*PubSub) error
// NewFloodSub returns a new PubSub management object
// NewPubSub returns a new PubSub management object
func NewPubSub(ctx context.Context, h host.Host, rt PubSubRouter, opts ...Option) (*PubSub, error) {
ps := &PubSub{
host: h,