mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-01 12:56:08 +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