check for request ID after receiving it

This commit is contained in:
Anton Kaliaev
2017-09-18 12:02:15 -07:00
committed by Ethan Buchman
parent e36c79f713
commit 7fadde0b37
3 changed files with 14 additions and 3 deletions

View File

@ -75,7 +75,7 @@ func NewJSONRPCClient(remote string) *JSONRPCClient {
}
func (c *JSONRPCClient) Call(method string, params map[string]interface{}, result interface{}) (interface{}, error) {
request, err := types.MapToRequest("", method, params)
request, err := types.MapToRequest("jsonrpc-client", method, params)
if err != nil {
return nil, err
}