mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-18 13:59:26 +00:00
cmd/geth: avoid hard coding the IPC name (#30687)
This commit is contained in:
parent
c3919f9bda
commit
bce420b99f
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.Version = version.WithCommit(git.Commit, git.Date)
|
||||||
cfg.HTTPModules = append(cfg.HTTPModules, "eth")
|
cfg.HTTPModules = append(cfg.HTTPModules, "eth")
|
||||||
cfg.WSModules = append(cfg.WSModules, "eth")
|
cfg.WSModules = append(cfg.WSModules, "eth")
|
||||||
cfg.IPCPath = "geth.ipc"
|
cfg.IPCPath = clientIdentifier + ".ipc"
|
||||||
return cfg
|
return cfg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue