mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-31 21:27:04 +00:00
fix Call method signature in HTTPClient interface
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user