mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
cmd/geth: avoid hard coding the IPC name
This commit is contained in:
parent
c3919f9bda
commit
8bc114854b
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ func defaultNodeConfig() node.Config {
|
|||
cfg.Version = version.WithCommit(git.Commit, git.Date)
|
||||
cfg.HTTPModules = append(cfg.HTTPModules, "eth")
|
||||
cfg.WSModules = append(cfg.WSModules, "eth")
|
||||
cfg.IPCPath = "geth.ipc"
|
||||
cfg.IPCPath = clientIdentifier + ".ipc"
|
||||
return cfg
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue