mempool_test does not make new list of Tx

This commit is contained in:
William Banfield
2022-03-11 17:31:26 -05:00
parent 4655d5d9f0
commit 64b0b0a646
+1 -8
View File
@@ -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(