Browse Source

remove comment incorrectly stating allocation by NewTxRecordSet

pull/8094/head
William Banfield 3 years ago
parent
commit
5a5167974f
No known key found for this signature in database GPG Key ID: EFAD3442BF29E3AC
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      types/tx.go

+ 0
- 2
types/tx.go View File

@ -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


Loading…
Cancel
Save