mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-06 16:17:11 +00:00
Fix benchmark -- needed to flush
This commit is contained in:
@@ -45,6 +45,10 @@ func makeRequest(conn net.Conn, req *types.Request) (*types.Response, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
err = bufWriter.Flush()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Read desired response
|
||||
var res = &types.Response{}
|
||||
|
||||
Reference in New Issue
Block a user