Skip to content

Commit

Permalink
removes overriding inspector suite func
Browse files Browse the repository at this point in the history
  • Loading branch information
yhassanzadeh13 committed Feb 9, 2024
1 parent e5e86d6 commit 90c2bcd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions network/p2p/builder/libp2pNodeBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ func (builder *LibP2PNodeBuilder) OverrideNodeConstructor(f p2p.NodeConstructor)
return builder
}

func (builder *LibP2PNodeBuilder) OverrideDefaultRpcInspectorSuiteFactory(factory p2p.GossipSubRpcInspectorSuiteFactoryFunc) p2p.NodeBuilder {
builder.gossipSubBuilder.OverrideDefaultRpcInspectorSuiteFactory(factory)
return builder
}

// Build creates a new libp2p node using the configured options.
func (builder *LibP2PNodeBuilder) Build() (p2p.LibP2PNode, error) {
var opts []libp2p.Option
Expand Down

0 comments on commit 90c2bcd

Please sign in to comment.