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

pull/30689/head
Péter Szilágyi 4 weeks ago committed by GitHub
parent c3919f9bda
commit bce420b99f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cmd/geth/config.go

@ -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…
Cancel
Save