Skip to content
Snippets Groups Projects
Commit 8b3d0c77 authored by jkrvivian's avatar jkrvivian Committed by Wolfgang Welz
Browse files

:bug: Get correct plugin names by removing spaces (#157)

parent 262d7d8c
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment