From 11733e92ff5508b56ad5b008a80e8c3b43b95f56 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Thu, 2 Nov 2023 12:15:38 -0700 Subject: [PATCH] Removed injection in MakeDataDir() --- cmd/utils/flags.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 53b8587d7..351c77d1e 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -979,13 +979,7 @@ var ( // if none (or the empty string) is specified. If the node is starting a testnet, // then a subdirectory of the specified datadir will be used. func MakeDataDir(ctx *cli.Context) string { - if path := ctx.String(DataDirFlag.Name); path == "" { - // begin PluGeth injection - if pluginPath := pluginDefaultDataDir(path); pluginPath != "" { - log.Error("Inside datdir injection number one") - return pluginPath - } - // end PluGeth injection + if path := ctx.String(DataDirFlag.Name); path != "" { if ctx.Bool(GoerliFlag.Name) { return filepath.Join(path, "goerli") }