Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhen1997 committed Aug 7, 2024
1 parent 6f306f8 commit 6f3e6f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .changeset/cuddly-eels-lay.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"chainlink": minor
---

Improve TXM performance by optimize Confirmer and Finalizer queries to stop pulling EVM receipt. #internal #changed #updated
Improve TXM performance by optimize Confirmer and Finalizer queries to stop pulling EVM receipt. #internal
4 changes: 1 addition & 3 deletions core/chains/evm/txmgr/evm_tx_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,7 @@ func (o *evmTxStore) loadEthTxAttemptsReceipts(ctx context.Context, etx *Tx) (er
return o.loadEthTxesAttemptsReceipts(ctx, []*Tx{etx})
}

// initEthTxesAttempts takes an input txes slice, return initialized an attempt map and attemptHashes slice, as well as
//
// a third value indicate if the input slice is empty
// initEthTxesAttempts takes an input txes slice, return initialized an attempt map and attemptHashes slice, plus a third value indicate if the input slice is empty
func initEthTxesAttempts(etxs []*Tx) (map[common.Hash]*TxAttempt, [][]byte, bool) {
if len(etxs) == 0 {
return nil, nil, true
Expand Down

0 comments on commit 6f3e6f7

Please sign in to comment.