|
|
@ -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( |
|
|
|