fix Call method signature in HTTPClient interface

This commit is contained in:
Anton Kaliaev
2017-03-08 10:26:13 +04:00
parent d43e3db978
commit 22ba8bdef8
+1 -1
View File
@@ -17,7 +17,7 @@ import (
// HTTPClient is a common interface for ClientJSONRPC and ClientURI.
type HTTPClient interface {
Call(method string, params []interface{}, result interface{}) (interface{}, error)
Call(method string, params map[string]interface{}, result interface{}) (interface{}, error)
}
// TODO: Deprecate support for IP:PORT or /path/to/socket