chore: unused function

This commit is contained in:
Derrick Hammer 2024-01-28 04:02:40 -05:00
parent ceabb95f6d
commit 5fd601407f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 10 deletions

View File

@ -16,16 +16,6 @@ func RegisterApis() {
}) })
} }
func getModulesBasedOnConfig() []fx.Option {
var modules []fx.Option
for _, entry := range registry.GetRegistry() {
if viper.GetBool("protocols." + entry.Key + ".enabled") {
modules = append(modules, entry.Module)
}
}
return modules
}
func BuildApis(config *viper.Viper) fx.Option { func BuildApis(config *viper.Viper) fx.Option {
var options []fx.Option var options []fx.Option
enabledProtocols := config.GetStringSlice("core.protocols") enabledProtocols := config.GetStringSlice("core.protocols")