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:
Sam Kleinman
2022-02-18 17:42:23 +00:00
committed by GitHub
parent a7224fd640
commit bb9fa171d6
8 changed files with 1 additions and 72 deletions
+1 -1
View File
@@ -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)
}
}