Pubsubmon: Gossipsub
License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
parent
f65349e9c8
commit
7f60cb318c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user