From f014fafd725b747e89c3e4ebe03ddbb2f2ddfd59 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Wed, 9 Oct 2024 13:19:51 -0400 Subject: [PATCH] Update bl_plugins.go --- blockchain/bl_plugins.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/blockchain/bl_plugins.go b/blockchain/bl_plugins.go index 4c4ad15..94db0eb 100644 --- a/blockchain/bl_plugins.go +++ b/blockchain/bl_plugins.go @@ -539,12 +539,7 @@ func (bl *FxBlockchain) getInstallOutputImpl(ctx context.Context, pluginName str output := make(map[string]string) params := strings.Split(paramsString, ",,,,") - for _, param := range params { - parts := strings.Split(param, "====") - if len(parts) != 2 { - continue - } - name := parts[0] + for _, name := range params { filePath := fmt.Sprintf("/internal/%s/%s.txt", pluginName, name) content, err := os.ReadFile(filePath) if err != nil {