Browse Source

mempool_test does not make new list of Tx

pull/8094/head
William Banfield 3 years ago
parent
commit
64b0b0a646
No known key found for this signature in database GPG Key ID: EFAD3442BF29E3AC
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      internal/consensus/mempool_test.go

+ 1
- 8
internal/consensus/mempool_test.go 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(


Loading…
Cancel
Save