mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user