cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner

This commit is contained in:
Péter Szilágyi
2016-05-11 11:49:44 +03:00
parent c05db38a5e
commit bc6fdad786
4 changed files with 136 additions and 120 deletions

View File

@ -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
}