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

@ -234,7 +234,7 @@ func SupportedModules(client Client) (map[string]string, error) {
req := JSONRequest{
Id: []byte("1"),
Version: "2.0",
Method: "rpc_modules",
Method: MetadataApi + "_modules",
}
if err := client.Send(req); err != nil {
return nil, err