aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/utils.go
diff options
context:
space:
mode:
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 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",
}