aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/utils.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-04-12 20:03:21 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-04-12 20:03:21 +0800
commit8627680e24a29abd5f2aaaeaa2c1c852d8fb693b (patch)
tree1ad39e8b43d04e5a17c17c0b7314eece80620dd5 /rpc/utils.go
parent934f587bd5c38a36e8b8c8647a9e600d1751ff2f (diff)
parentaa9fff3e68b1def0a9a22009c233150bf9ba481f (diff)
downloadgo-tangerine-8627680e24a29abd5f2aaaeaa2c1c852d8fb693b.tar.gz
go-tangerine-8627680e24a29abd5f2aaaeaa2c1c852d8fb693b.tar.zst
go-tangerine-8627680e24a29abd5f2aaaeaa2c1c852d8fb693b.zip
Merge pull request #2359 from bas-vk/rpc-optional-args
rpc: several fixes and support for optional arguments
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",
}