Skip to content

Commit

Permalink
provide peer-manager callback to discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
walldiss committed Sep 28, 2023
1 parent fc879f7 commit 4a2bff3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodebuilder/share/constructors.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func newDiscovery(cfg *disc.Parameters,
cfg,
h,
routingdisc.NewRoutingDiscovery(r),
disc.WithOnPeersUpdate(manager.UpdatedFullNodes),
)
}
}
Expand Down

0 comments on commit 4a2bff3

Please sign in to comment.