execute hash is now updated via save-tx-info! so we can get rid of the dedicated function & query

This commit is contained in:
Rob Culliton 2018-05-05 09:02:21 -04:00
parent 7103bd2332
commit e2a1692f82
No known key found for this signature in database
GPG Key ID: 6FDEF60B3DC84D94
2 changed files with 0 additions and 12 deletions

View File

@ -385,13 +385,6 @@ SET confirm_hash = :confirm_hash,
updated = timezone('utc'::text, now())
WHERE issue_id = :issue_id;
-- :name update-execute-hash :! :n
-- :doc updates issue with execute transaction hash
UPDATE issues
SET execute_hash = :execute_hash,
updated = timezone('utc'::text, now())
WHERE issue_id = :issue_id;
-- :name update-winner-login :! :n
UPDATE issues
SET winner_login = :winner_login

View File

@ -55,11 +55,6 @@
(jdbc/with-db-connection [con-db *db*]
(db/update-confirm-hash con-db {:issue_id issue-id :confirm_hash confirm-hash})))
(defn update-execute-hash
[issue-id execute-hash]
(jdbc/with-db-connection [con-db *db*]
(db/update-execute-hash con-db {:issue_id issue-id :execute_hash execute-hash})))
(defn update-winner-login
[issue-id login]
(jdbc/with-db-connection [con-db *db*]