Removed unnecessary field from transactionInfo.
@@ -713,7 +713,6 @@ type transactionInfo struct {
_sm module.ServiceManager
_txID []byte
_txBlock module.Block
- _receiptBlock module.Block
_index int
_group module.TransactionGroup
_mtr module.Transaction
@@ -758,10 +757,6 @@ func (m *manager) getTransactionInfo(id []byte) module.TransactionInfo {
if err != nil {
return nil
}
- rblock, err := m.getBlockByHeight(loc.BlockHeight + 1)
- if err != nil {
- return nil
- }
mtr, err := block.NormalTransactions().Get(loc.IndexInGroup)
if err != nil {
return nil
@@ -770,7 +765,6 @@ func (m *manager) getTransactionInfo(id []byte) module.TransactionInfo {
_sm: m.sm,
_txID: id,
_txBlock: block,
- _receiptBlock: rblock,
_index: loc.IndexInGroup,
_group: loc.TransactionGroup,
_mtr: mtr,
