From 5a5167974f4ebf4abba5656d29863d37a1674789 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 14 Mar 2022 17:48:54 -0400 Subject: [PATCH] remove comment incorrectly stating allocation by NewTxRecordSet --- types/tx.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/types/tx.go b/types/tx.go index 44f62a0fa..f61e9082f 100644 --- a/types/tx.go +++ b/types/tx.go @@ -128,8 +128,6 @@ func NewTxRecordSet(trs []*abci.TxRecord) TxRecordSet { txrSet.all = make([]Tx, len(trs)) for i, tr := range trs { - // A single allocation is performed per transaction from the list of TxRecords - // on the line below. txrSet.all[i] = Tx(tr.Tx) // The following set of assignments do not allocate new []byte, they create