From 64b0b0a646394d9d623a5082aa0f1a6cad06a51d Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 11 Mar 2022 17:31:26 -0500 Subject: [PATCH] mempool_test does not make new list of Tx --- internal/consensus/mempool_test.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/internal/consensus/mempool_test.go b/internal/consensus/mempool_test.go index 37a88f123..e527e8598 100644 --- a/internal/consensus/mempool_test.go +++ b/internal/consensus/mempool_test.go @@ -310,14 +310,7 @@ func (app *CounterApplication) Commit() abci.ResponseCommit { func (app *CounterApplication) PrepareProposal( req abci.RequestPrepareProposal) abci.ResponsePrepareProposal { - trs := make([]*abci.TxRecord, len(req.Txs)) - for i, tx := range req.Txs { - trs[i] = &abci.TxRecord{ - Action: abci.TxRecord_UNMODIFIED, - Tx: tx, - } - } - return abci.ResponsePrepareProposal{TxRecords: trs} + return abci.ResponsePrepareProposal{} } func (app *CounterApplication) ProcessProposal(