execute hash is now updated via save-tx-info! so we can get rid of the dedicated function & query
This commit is contained in:
parent
7103bd2332
commit
e2a1692f82
|
@ -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
|
||||
|
|
|
@ -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*]
|
||||
|
|
Loading…
Reference in New Issue