fix logging, error message, inline comments
This commit is contained in:
parent
cec0718b1e
commit
56e54e10a4
|
@ -270,4 +270,4 @@
|
|||
(ok {:confirm-hash confirm-hash})
|
||||
(bad-request "The confirm hash could not be updated"))
|
||||
(bad-request "The transaction hash could not be confirmed in a reasonable amount of time"))
|
||||
(bad-request (str "We were unable to withdraw everything from " contract-address))))))))
|
||||
(bad-request (str "Unable to withdraw everything from " contract-address))))))))
|
||||
|
|
|
@ -171,7 +171,7 @@
|
|||
execute-hash :execute_hash} (db-bounties/pending-payouts)]
|
||||
|
||||
(update-confirm-hash issue-id execute-hash)))
|
||||
(log/info "Exit update-confirm-hash"))
|
||||
(log/info "Exit update-confirm-hashes"))
|
||||
|
||||
(defn update-watch-hash
|
||||
"Sets watch-hash to NULL for bounties where watch tx has been mined. Used to avoid unneeded watch transactions in update-bounty-token-balances"
|
||||
|
@ -502,4 +502,3 @@
|
|||
:stop (do
|
||||
(log/info "stopping scheduler")
|
||||
(scheduler)))
|
||||
|
||||
|
|
|
@ -438,7 +438,6 @@
|
|||
(let [issue-id (:issue_id fields)]
|
||||
{:http {:method POST
|
||||
:url "/api/user/revoke"
|
||||
;; merge returned confirm hash with
|
||||
:on-success #(dispatch [:revoke-bounty-success (merge fields %)])
|
||||
:on-error #(dispatch [:revoke-bounty-error issue-id %])
|
||||
:params fields}})))
|
||||
|
|
Loading…
Reference in New Issue