mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-17 03:47:58 +00:00
now that payout receipt is working, only log for the changed case rather than all records
This commit is contained in:
parent
d3925a542e
commit
039295f157
@ -13,10 +13,11 @@
|
||||
"filters collection of bounties to only those with a field that has been recently set"
|
||||
(filter (fn [[issue-id owner-bounty]]
|
||||
(let [new-field-value (field-name owner-bounty)
|
||||
old-field-value (get-in old-bounties [issue-id field-name])]
|
||||
(println "old value for " field-name " is " old-field-value)
|
||||
(println "new value for " field-name "is " new-field-value)
|
||||
(and (nil? old-field-value) (some? new-field-value))))
|
||||
old-field-value (get-in old-bounties [issue-id field-name])]
|
||||
(when (and (nil? old-field-value) (some? new-field-value))
|
||||
(println "old value for " field-name " is " old-field-value)
|
||||
(println "new value for " field-name "is " new-field-value)
|
||||
true)))
|
||||
new-bounties))
|
||||
|
||||
(defn dispatch-confirm-payout [bounty]
|
||||
|
Loading…
x
Reference in New Issue
Block a user