Removed injection in MakeDataDir()
This commit is contained in:
parent
210c889297
commit
11733e92ff
@ -979,13 +979,7 @@ var (
|
|||||||
// if none (or the empty string) is specified. If the node is starting a testnet,
|
// 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.
|
// then a subdirectory of the specified datadir will be used.
|
||||||
func MakeDataDir(ctx *cli.Context) string {
|
func MakeDataDir(ctx *cli.Context) string {
|
||||||
if path := ctx.String(DataDirFlag.Name); path == "" {
|
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 ctx.Bool(GoerliFlag.Name) {
|
if ctx.Bool(GoerliFlag.Name) {
|
||||||
return filepath.Join(path, "goerli")
|
return filepath.Join(path, "goerli")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user