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
1 changed files with 1 additions and 1 deletions

View File

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