From 7c7307961b1e6287b3dd5695b1e0be04e89410fd Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 14 Mar 2022 17:47:40 -0400 Subject: [PATCH] remove TxRecordsToTxs --- types/tx.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/types/tx.go b/types/tx.go index c4aae1cbc..44f62a0fa 100644 --- a/types/tx.go +++ b/types/tx.go @@ -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.