mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-18 21:26:20 +00:00
do not rebuild block if not modified
This commit is contained in:
@@ -144,7 +144,7 @@ func (blockExec *BlockExecutor) CreateProposalBlock(
|
||||
}
|
||||
|
||||
if !rpp.ModifiedTx {
|
||||
return state.MakeBlock(height, txs, commit, evidence, proposerAddr)
|
||||
return block, nil
|
||||
}
|
||||
|
||||
for _, rtx := range rpp.RemovedTxs() {
|
||||
|
||||
Reference in New Issue
Block a user