diff --git a/rpc/backend/blocks.go b/rpc/backend/blocks.go index dfbb92cdfb..0e83f61255 100644 --- a/rpc/backend/blocks.go +++ b/rpc/backend/blocks.go @@ -337,7 +337,12 @@ func (b *Backend) EthMsgsFromTendermintBlock( return result, txsAdditional } -func (b *Backend) parseSyntheticTx(txResults []*abci.ResponseDeliverTx, i int, tx sdk.Tx, block *tmtypes.Block) (*evmtypes.MsgEthereumTx, *rpctypes.TxResultAdditionalFields) { +func (b *Backend) parseSyntheticTx( + txResults []*abci.ResponseDeliverTx, + i int, + tx sdk.Tx, + block *tmtypes.Block, +) (*evmtypes.MsgEthereumTx, *rpctypes.TxResultAdditionalFields) { res, additional, err := rpctypes.ParseTxBlockResult(txResults[i], tx, i, block.Height) if err != nil || additional == nil || res == nil { return nil, nil @@ -345,7 +350,9 @@ func (b *Backend) parseSyntheticTx(txResults []*abci.ResponseDeliverTx, i int, t return b.parseSyntethicTxFromAdditionalFields(additional), additional } -func (b *Backend) parseSyntethicTxFromAdditionalFields(additional *rpctypes.TxResultAdditionalFields) *evmtypes.MsgEthereumTx { +func (b *Backend) parseSyntethicTxFromAdditionalFields( + additional *rpctypes.TxResultAdditionalFields, +) *evmtypes.MsgEthereumTx { recipient := additional.Recipient t := ethtypes.NewTx(ðtypes.LegacyTx{ Nonce: additional.Nonce,