Browse Source

remove erroneous comment over ToSliceOfBytes

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

+ 0
- 4
types/tx.go View File

@ -72,10 +72,6 @@ func (txs Txs) Less(i, j int) bool {
} }
// ToSliceOfBytes converts a Txs to slice of byte slices. // ToSliceOfBytes converts a Txs to slice of byte slices.
//
// NOTE: This method should become obsolete once Txs is switched to [][]byte.
// ref: #2603
// TODO This function is to disappear when TxRecord is introduced
func (txs Txs) ToSliceOfBytes() [][]byte { func (txs Txs) ToSliceOfBytes() [][]byte {
txBzs := make([][]byte, len(txs)) txBzs := make([][]byte, len(txs))
for i := 0; i < len(txs); i++ { for i := 0; i < len(txs); i++ {


Loading…
Cancel
Save