Skip to content

Commit fd885d0

Browse files
not supplying DHT shouldn't make fx fail
1 parent 1719d77 commit fd885d0

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
@@ -344,7 +344,7 @@ func SweepingProviderOpt(cfg *config.Config) fx.Option {
344344
}
345345
}
346346
if impl == nil {
347-
return &NoopProvider{}, nil, errors.New("no valid DHT available for providing")
347+
return &NoopProvider{}, nil, nil
348348
}
349349

350350
var selfAddrsFunc func() []ma.Multiaddr

0 commit comments

Comments
 (0)