diff --git a/baseapp/abci_utils.go b/baseapp/abci_utils.go index 5ec363b1f0e6..93bcbc806c0d 100644 --- a/baseapp/abci_utils.go +++ b/baseapp/abci_utils.go @@ -289,7 +289,7 @@ func (h *DefaultProposalHandler) PrepareProposalHandler() sdk.PrepareProposalHan var ( err error selectedTxsNums int - invalidTxs []sdk.Tx // invalid txs to be removed after the iteration + invalidTxs []sdk.Tx // invalid txs to be removed out of the loop to avoid dead lock ) h.mempool.SelectBy(ctx, req.Txs, func(memTx sdk.Tx) bool { var signerData []mempool.SignerData