Skip to content

Commit

Permalink
Merge pull request #247 from chain4travel/defdatadir
Browse files Browse the repository at this point in the history
[Config] Don't overwrite default dataDir from config file
  • Loading branch information
uprendis authored Feb 10, 2022
2 parents bff25c0 + a9301db commit a3e301a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/opera/launcher/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ func setDataDir(ctx *cli.Context, cfg *node.Config) {
log.Crit("Invalid flag", "flag", FakeNetFlag.Name, "err", err)
}
cfg.DataDir = filepath.Join(defaultDataDir, fmt.Sprintf("fakenet-%d", num))
default:
cfg.DataDir = defaultDataDir
}
}

Expand Down

0 comments on commit a3e301a

Please sign in to comment.