Merge branch 'feature/abci++ppp' into wb/option-3

This commit is contained in:
William Banfield
2022-08-18 13:43:04 -04:00
committed by GitHub
13 changed files with 365 additions and 51 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ func (app *PersistentKVStoreApplication) PrepareProposal(
func (app *PersistentKVStoreApplication) ProcessProposal(
req types.RequestProcessProposal) types.ResponseProcessProposal {
for _, tx := range req.Txs {
if len(tx) == 0 {
if len(tx) == 0 || isPrepareTx(tx) {
return types.ResponseProcessProposal{Status: types.ResponseProcessProposal_REJECT}
}
}