Remove workaround for problem now solved by #8229

Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Thane Thomson
2022-03-31 19:57:50 -04:00
parent 989c9b63d6
commit b958ca22a5

View File

@@ -331,7 +331,7 @@ func (app *Application) PrepareProposal(req abci.RequestPrepareProposal) abci.Re
extCount++
}
// We only generate our special transaction if we have vote extensions
if extCount > 0 && len(req.Txs) > 0 {
if extCount > 0 {
extTxPrefix := fmt.Sprintf("%s=", voteExtensionKey)
extTx := []byte(fmt.Sprintf("%s%d", extTxPrefix, sum))
app.logger.Info("preparing proposal with custom transaction from vote extensions", "tx", extTx)