diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-05-11 16:49:44 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-05-11 16:49:44 +0800 |
commit | bc6fdad786706019fc5aeb9605f1d23b3c5b7522 (patch) | |
tree | 448a5220cd252bddd7c4276314fb82ce894b59f2 /cmd | |
parent | c05db38a5ee87c1700faf929db0a9156b263ec95 (diff) | |
download | dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.gz dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.bz2 dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.lz dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.xz dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.zst dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.zip |
cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/js.go | 2 |
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 } |