[release/1.4.6] cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner

(cherry picked from commit bc6fdad786)
This commit is contained in:
Péter Szilágyi
2016-05-11 11:49:44 +03:00
parent 3752507a11
commit e3b3c298df
4 changed files with 94 additions and 92 deletions

View File

@ -198,7 +198,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
}