From 4a2bff3789802f4d60ee3072e3fd8f56eba95bc6 Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 28 Sep 2023 16:22:43 +0800 Subject: [PATCH] provide peer-manager callback to discovery --- nodebuilder/share/constructors.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nodebuilder/share/constructors.go b/nodebuilder/share/constructors.go index 2ef0596254..c337657a55 100644 --- a/nodebuilder/share/constructors.go +++ b/nodebuilder/share/constructors.go @@ -31,6 +31,7 @@ func newDiscovery(cfg *disc.Parameters, cfg, h, routingdisc.NewRoutingDiscovery(r), + disc.WithOnPeersUpdate(manager.UpdatedFullNodes), ) } }