Browse Source

remove TxRecordsToTxs

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

+ 0
- 9
types/tx.go View File

@ -94,15 +94,6 @@ func ToTxs(txs [][]byte) Txs {
return txBzs
}
// TxRecordsToTxs converts from the abci Tx type to the the Txs type.
func TxRecordsToTxs(trs []*abci.TxRecord) Txs {
txs := make([]Tx, len(trs))
for i, tr := range trs {
txs[i] = Tx(tr.Tx)
}
return txs
}
// TxRecordSet contains indexes into an underlying set of transactions.
// These indexes are useful for validating and working with a list of TxRecords
// from the PrepareProposal response.


Loading…
Cancel
Save