mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-03 06:37:14 +00:00
abci/client: make flush operation sync (#7857)
This follows along in the spirit of #7845 but is orthogonal to removing `CheckTxAsync` (which will come after the previous commit lands,) so I thought I'd get it out there earlier.
This commit is contained in:
@@ -730,7 +730,7 @@ func (txmp *TxMempool) updateReCheckTxs(ctx context.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
if _, err := txmp.proxyAppConn.FlushAsync(ctx); err != nil {
|
||||
if err := txmp.proxyAppConn.Flush(ctx); err != nil {
|
||||
txmp.logger.Error("failed to flush transactions during rechecking", "err", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user