diff --git a/.changeset/dull-seals-jog.md b/.changeset/dull-seals-jog.md new file mode 100644 index 00000000000..12dbb06d86d --- /dev/null +++ b/.changeset/dull-seals-jog.md @@ -0,0 +1,5 @@ +--- +"chainlink": patch +--- + +remove tautological err check within evm txm. #internal diff --git a/core/chains/evm/txmgr/evm_tx_store.go b/core/chains/evm/txmgr/evm_tx_store.go index 4474688b47c..e83a83907e4 100644 --- a/core/chains/evm/txmgr/evm_tx_store.go +++ b/core/chains/evm/txmgr/evm_tx_store.go @@ -1704,9 +1704,7 @@ func (o *evmTxStore) UpdateTxUnstartedToInProgress(ctx context.Context, etx *Tx, pqErr.ConstraintName == "eth_tx_attempts_eth_tx_id_fkey" { return txmgr.ErrTxRemoved } - if err != nil { - return pkgerrors.Wrap(err, "UpdateTxUnstartedToInProgress failed to create eth_tx_attempt") - } + return pkgerrors.Wrap(err, "UpdateTxUnstartedToInProgress failed to create eth_tx_attempt") } dbAttempt.ToTxAttempt(attempt) var dbEtx DbEthTx