mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-27 19:51:41 +00:00
event listeners take EventData, not interface{}; EventData type assertions
This commit is contained in:
@ -15,9 +15,6 @@ type RPCResponse struct {
|
||||
}
|
||||
|
||||
func NewRPCResponse(id string, res interface{}, err string) RPCResponse {
|
||||
if res == nil {
|
||||
res = struct{}{}
|
||||
}
|
||||
return RPCResponse{
|
||||
JSONRPC: "2.0",
|
||||
Id: id,
|
||||
|
Reference in New Issue
Block a user