diff --git a/core/chains/evm/txmgr/evm_tx_store.go b/core/chains/evm/txmgr/evm_tx_store.go index a3aad5480dd..7dadc45e840 100644 --- a/core/chains/evm/txmgr/evm_tx_store.go +++ b/core/chains/evm/txmgr/evm_tx_store.go @@ -1579,7 +1579,7 @@ func (o *evmTxStore) FindNextUnstartedTransactionFromAddress(ctx context.Context err := qq.Get(&dbEtx, `SELECT * FROM evm.txes WHERE from_address = $1 AND state = 'unstarted' AND evm_chain_id = $2 ORDER BY value ASC, created_at ASC, id ASC`, fromAddress, chainID.String()) if err != nil { if errors.Is(err, sql.ErrNoRows) { - return txmgr.ErrTxnNotFound + return sql.ErrNoRows } return pkgerrors.Wrap(err, "failed to FindNextUnstartedTransactionFromAddress") }