aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-05-11 17:37:26 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-05-11 17:37:26 +0800
commit5a901bb555188eb42a0eb3ee9cab2cd41de9874b (patch)
tree448a5220cd252bddd7c4276314fb82ce894b59f2 /cmd/geth
parentc05db38a5ee87c1700faf929db0a9156b263ec95 (diff)
parentbc6fdad786706019fc5aeb9605f1d23b3c5b7522 (diff)
downloadgo-tangerine-5a901bb555188eb42a0eb3ee9cab2cd41de9874b.tar
go-tangerine-5a901bb555188eb42a0eb3ee9cab2cd41de9874b.tar.gz
go-tangerine-5a901bb555188eb42a0eb3ee9cab2cd41de9874b.tar.bz2
go-tangerine-5a901bb555188eb42a0eb3ee9cab2cd41de9874b.tar.lz
go-tangerine-5a901bb555188eb42a0eb3ee9cab2cd41de9874b.tar.xz
go-tangerine-5a901bb555188eb42a0eb3ee9cab2cd41de9874b.tar.zst
go-tangerine-5a901bb555188eb42a0eb3ee9cab2cd41de9874b.zip
Merge pull request #2548 from karalabe/surface-rpc-endpoint
cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/js.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/js.go b/cmd/geth/js.go
index 2b64303b2..25c4d1a21 100644
--- a/cmd/geth/js.go
+++ b/cmd/geth/js.go
@@ -199,7 +199,7 @@ func (js *jsre) apiBindings() error {
// load only supported API's in javascript runtime
shortcuts := "var eth = web3.eth; var personal = web3.personal; "
for _, apiName := range apiNames {
- if apiName == "web3" || apiName == "rpc" {
+ if apiName == "web3" {
continue // manually mapped or ignore
}