Merge branch 'master' into reprovide-sweep-enabled

This commit is contained in:
Guillaume Michel 2025-10-31 13:59:32 +01:00 committed by GitHub
commit a29a66fc8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -415,7 +415,7 @@ func SweepingProviderOpt(cfg *config.Config) fx.Option {
dhtprovider.WithKeystore(ks),
dhtprovider.WithDatastore(ds),
dhtprovider.WithResumeCycle(cfg.Provide.DHT.ResumeEnabled.WithDefault(config.DefaultProvideDHTResumeEnabled)),
dhtprovider.WithPeerID(impl.Host().ID()),
dhtprovider.WithHost(impl.Host()),
dhtprovider.WithRouter(impl),
dhtprovider.WithMessageSender(impl.MessageSender()),
dhtprovider.WithSelfAddrs(selfAddrsFunc),