Skip to content

Commit

Permalink
fix: node init
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Jul 9, 2024
1 parent 577563e commit 4a7cb34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions p2p/pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ func NewNode(opts *Options) (*Node, error) {
store,
opts.Logger.With("component", "keyexchange_protocol"),
signer.New(),
nil,
)
p2pSvc.AddStreamHandlers(keyexchange.Streams()...)
srv.RegisterMetricsCollectors(preconfProto.Metrics()...)
Expand Down Expand Up @@ -457,6 +458,7 @@ func NewNode(opts *Options) (*Node, error) {
store,
opts.Logger.With("component", "keyexchange_protocol"),
signer.New(),
opts.ProviderWhitelist,
)
topo.SubscribePeer(func(p p2p.Peer) {
if p.Type == p2p.PeerTypeProvider {
Expand Down

0 comments on commit 4a7cb34

Please sign in to comment.