cmd/geth: avoid hard coding the IPC name (#30687)
This commit is contained in:
parent
c3919f9bda
commit
bce420b99f
@ -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 New Issue
Block a user