cmd/geth: avoid hard coding the IPC name (#30687)

This commit is contained in:
Péter Szilágyi 2024-10-28 22:29:25 +02:00 committed by GitHub
parent c3919f9bda
commit bce420b99f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
}