diff options
Diffstat (limited to 'rpc/utils.go')
-rw-r--r-- | rpc/utils.go | 2 |
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 |