[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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user