diff --git a/plugins/cli/plugin.go b/plugins/cli/plugin.go index 03bbc6faf2c92a3efabc3d96c3f76b09ee4e0d67..0b1937b55e97dd17d752d925f27387844708b35a 100644 --- a/plugins/cli/plugin.go +++ b/plugins/cli/plugin.go @@ -2,7 +2,6 @@ package cli import ( "fmt" - "strings" "github.com/iotaledger/goshimmer/packages/parameter" "github.com/iotaledger/hive.go/events" @@ -37,10 +36,10 @@ func init() { func parseParameters() { for _, pluginName := range parameter.NodeConfig.GetStringSlice(node.CFG_DISABLE_PLUGINS) { - node.DisabledPlugins[strings.ToLower(pluginName)] = true + node.DisabledPlugins[node.GetPluginIdentifier(pluginName)] = true } for _, pluginName := range parameter.NodeConfig.GetStringSlice(node.CFG_ENABLE_PLUGINS) { - node.EnabledPlugins[strings.ToLower(pluginName)] = true + node.EnabledPlugins[node.GetPluginIdentifier(pluginName)] = true } }