From e79ccd846f800fe0df83f1491757724eae08f7c1 Mon Sep 17 00:00:00 2001 From: Dylan Tinianov Date: Thu, 21 Mar 2024 13:04:16 -0400 Subject: [PATCH] Update evm_tx_store.go --- core/chains/evm/txmgr/evm_tx_store.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/chains/evm/txmgr/evm_tx_store.go b/core/chains/evm/txmgr/evm_tx_store.go index 65df2e50ae7..55f650e934b 100644 --- a/core/chains/evm/txmgr/evm_tx_store.go +++ b/core/chains/evm/txmgr/evm_tx_store.go @@ -115,11 +115,6 @@ func DbReceiptToEvmReceipt(receipt *dbReceipt) *evmtypes.Receipt { // Directly maps to onchain receipt schema. type rawOnchainReceipt = evmtypes.Receipt -func Transaction(ctx context.Context, store *evmTxStore, readOnly bool, fn func(*evmTxStore) error) (err error) { - opts := &sqlutil.TxOptions{TxOptions: sql.TxOptions{ReadOnly: readOnly}} - return sqlutil.Transact(ctx, store.new, store.q, opts, fn) -} - func (o *evmTxStore) Transaction(ctx context.Context, readOnly bool, fn func(*evmTxStore) error) (err error) { opts := &sqlutil.TxOptions{TxOptions: sql.TxOptions{ReadOnly: readOnly}} return sqlutil.Transact(ctx, o.new, o.q, opts, fn)