From cb9a589dbd8bd7781c0e1d48151ea56565893770 Mon Sep 17 00:00:00 2001 From: huangyi Date: Fri, 30 Aug 2024 18:18:04 +0800 Subject: [PATCH] comment --- baseapp/abci_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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