Update abci/types/types.go

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
William Banfield
2022-03-09 16:31:45 -05:00
committed by GitHub
co-authored by M. J. Fromberger
parent 1ee79b8598
commit 9852254072
-1
View File
@@ -240,7 +240,6 @@ func (rpp *ResponsePrepareProposal) AddedTxs() []*TxRecord {
// Validate checks that the fields of the ResponsePrepareProposal are properly
// constructed. Validate returns an error if any of the validation checks fail.
func (rpp *ResponsePrepareProposal) Validate(maxSizeBytes int64, otxs [][]byte) error {
if !rpp.ModifiedTx {
// This method currently only checks the validity of the TxRecords field.
// If ModifiedTx is false, then we can ignore the validity of the TxRecords field.