add an explicit field for included transactions

This commit is contained in:
William Banfield
2022-03-14 14:49:53 -04:00
parent 0c974e6b73
commit 797a4ea18b
2 changed files with 27 additions and 17 deletions
+2 -2
View File
@@ -160,8 +160,8 @@ func (blockExec *BlockExecutor) CreateProposalBlock(
blockExec.logger.Error("error adding tx to the mempool", "error", err, "tx hash", atx.Hash())
}
}
ftxs := append(txrSet.GetAddedTxs(), txrSet.GetUnmodifiedTxs()...)
return state.MakeBlock(height, ftxs, commit, evidence, proposerAddr), nil
itxs := txrSet.GetIncludedTxs()
return state.MakeBlock(height, itxs, commit, evidence, proposerAddr), nil
}
func (blockExec *BlockExecutor) ProcessProposal(