Skip to content

Commit 862cb51

Browse files
fix provider type
1 parent bb069ce commit 862cb51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/node/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
const sampledBatchSize = 1000
3131

3232
func ProviderSys(reprovideInterval time.Duration, acceleratedDHTClient bool, provideWorkerCount int) fx.Option {
33-
return fx.Provide(func(lc fx.Lifecycle, cr irouting.ProvideManyRouter, keyProvider provider.KeyChanFunc, repo repo.Repo, bs blockstore.Blockstore) (provider.System, error) {
33+
return fx.Provide(func(lc fx.Lifecycle, cr irouting.ProvideManyRouter, keyProvider provider.KeyChanFunc, repo repo.Repo, bs blockstore.Blockstore) (provider.Provider, error) {
3434
opts := []provider.Option{
3535
provider.Online(cr),
3636
provider.ReproviderInterval(reprovideInterval),

0 commit comments

Comments
 (0)