mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-19 21:56:22 +00:00
remove TxRecordsToTxs
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user