From aa9fff3e68b1def0a9a22009c233150bf9ba481f Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Mon, 14 Mar 2016 09:38:54 +0100 Subject: rpc: various fixes/enhancements rpc: be less restrictive on the request id rpc: improved documentation console: upgrade web3.js to version 0.16.0 rpc: cache http connections rpc: rename wsDomains parameter to wsOrigins --- 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 d43c50495..86938e9b3 100644 --- a/rpc/utils.go +++ b/rpc/utils.go @@ -232,7 +232,7 @@ func newSubscriptionID() (string, error) { // on which the given client connects. func SupportedModules(client Client) (map[string]string, error) { req := JSONRequest{ - Id: new(int64), + Id: []byte("1"), Version: "2.0", Method: "rpc_modules", } -- cgit v1.2.3