Pubsubmon: Gossipsub

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
Hector Sanjuan 2018-10-10 16:00:37 +02:00
parent f65349e9c8
commit 7f60cb318c

View File

@ -59,7 +59,7 @@ func New(h host.Host, cfg *Config) (*Monitor, error) {
mtrs := metrics.NewStore()
checker := metrics.NewChecker(mtrs)
pubsub, err := floodsub.NewFloodSub(ctx, h)
pubsub, err := floodsub.NewGossipSub(ctx, h)
if err != nil {
cancel()
return nil, err