diff --git a/resources/sql/queries.sql b/resources/sql/queries.sql index 970969f..3f570ea 100644 --- a/resources/sql/queries.sql +++ b/resources/sql/queries.sql @@ -304,16 +304,6 @@ AND r.repo_id = i.repo_id AND u.id = p.user_id AND i.execute_hash IS NULL; --- :name pending-executions :? :* --- :doc recently posted executions waiting for bot confirmation to be mined -SELECT - i.contract_address AS contract_address, - i.issue_id AS issue_id, - i.execute_hash AS execute_hash -FROM issues i -WHERE i.execute_posted IS NULL -AND i.execute_hash IS NOT NULL; - -- :name pending-payouts :? :* -- :doc recently closed issues awaiting for bot confirmation to be mined SELECT diff --git a/src/clj/commiteth/db/bounties.clj b/src/clj/commiteth/db/bounties.clj index d119367..f147cae 100644 --- a/src/clj/commiteth/db/bounties.clj +++ b/src/clj/commiteth/db/bounties.clj @@ -30,11 +30,6 @@ (jdbc/with-db-connection [con-db *db*] (db/pending-bounties con-db))) -(defn pending-executions - [] - (jdbc/with-db-connection [con-db *db*] - (db/pending-executions con-db))) - (defn pending-payouts [] (jdbc/with-db-connection [con-db *db*]