aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/utils.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-05-11 16:49:44 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-05-11 16:49:44 +0800
commitbc6fdad786706019fc5aeb9605f1d23b3c5b7522 (patch)
tree448a5220cd252bddd7c4276314fb82ce894b59f2 /rpc/utils.go
parentc05db38a5ee87c1700faf929db0a9156b263ec95 (diff)
downloaddexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar
dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.gz
dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.bz2
dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.lz
dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.xz
dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.tar.zst
dexon-bc6fdad786706019fc5aeb9605f1d23b3c5b7522.zip
cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner
Diffstat (limited to 'rpc/utils.go')
-rw-r--r--rpc/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/utils.go b/rpc/utils.go
index 86938e9b3..fe482e19d 100644
--- a/rpc/utils.go
+++ b/rpc/utils.go
@@ -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