mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
Use protobuf enums
This commit is contained in:
@@ -61,7 +61,7 @@ func makeRequest(conn net.Conn, req *types.Request) (*types.Response, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if resFlush.Type != types.ResponseTypeFlush {
|
||||
if resFlush.Type != types.MessageType_Flush {
|
||||
return nil, errors.New(Fmt("Expected flush response but got something else: %v", resFlush.Type))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user