From bc6fdad786706019fc5aeb9605f1d23b3c5b7522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 11 May 2016 11:49:44 +0300 Subject: cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner --- rpc/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc/utils.go') 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 -- cgit v1.2.3