Change func name and nil pointer check based on comments

This commit is contained in:
Shrenuj Bansal
2022-08-17 10:47:05 -04:00
parent 32a2ae12cb
commit 60751f809b
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func ConfigStorageMiner(c interface{}) Option {
return Options(
Override(new(v1api.FullNode), modules.GetUuidWrapper),
Override(new(v1api.FullNode), modules.MakeUuidWrapper),
// Needed to instantiate pubsub used by index provider via ConfigCommon
Override(new(dtypes.DrandSchedule), modules.BuiltinDrandConfig),
Override(new(dtypes.BootstrapPeers), modules.BuiltinBootstrap),