fix logging, error message, inline comments

This commit is contained in:
Rob Culliton 2018-05-01 21:59:00 -04:00
parent cec0718b1e
commit 56e54e10a4
No known key found for this signature in database
GPG Key ID: 6FDEF60B3DC84D94
3 changed files with 2 additions and 4 deletions

View File

@ -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))))))))

View File

@ -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)))

View File

@ -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}})))