aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/main.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-09 19:24:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-09 19:24:42 +0800
commit900e124beea551ded290f61e7bf85ff6b2e4a29e (patch)
treef4447602e77956699a8df44a1edc9932688d48fd /cmd/geth/main.go
parent7486904b92449c5955bb682f4ff98752906912b8 (diff)
downloaddexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.gz
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.bz2
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.lz
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.xz
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.zst
dexon-900e124beea551ded290f61e7bf85ff6b2e4a29e.zip
cmd, common, node, rpc: rework naming convention to canonical one
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r--cmd/geth/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 61f0632db..5c07be3f6 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -312,7 +312,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
utils.WSListenAddrFlag,
utils.WSPortFlag,
utils.WSApiFlag,
- utils.WSCORSDomainFlag,
+ utils.WSAllowedDomainsFlag,
utils.IPCDisabledFlag,
utils.IPCApiFlag,
utils.IPCPathFlag,
@@ -425,7 +425,7 @@ func console(ctx *cli.Context) {
startNode(ctx, node)
// Attach to the newly started node, and either execute script or become interactive
- client, err := utils.NewRemoteRPCClientFromString("ipc:" + node.IpcEndpoint())
+ client, err := utils.NewRemoteRPCClientFromString("ipc:" + node.IPCEndpoint())
if err != nil {
utils.Fatalf("Failed to attach to the inproc geth: %v", err)
}
@@ -451,7 +451,7 @@ func execScripts(ctx *cli.Context) {
startNode(ctx, node)
// Attach to the newly started node and execute the given scripts
- client, err := utils.NewRemoteRPCClientFromString("ipc:" + node.IpcEndpoint())
+ client, err := utils.NewRemoteRPCClientFromString("ipc:" + node.IPCEndpoint())
if err != nil {
utils.Fatalf("Failed to attach to the inproc geth: %v", err)
}