mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 10:06:20 +00:00
always assume :paid if payout_hash is present
This commit is contained in:
parent
5d44df7a20
commit
e7c8a986d7
@ -128,9 +128,9 @@
|
||||
(if-let [merged-or-paid? (or (:winner_login bounty)
|
||||
(:payout_hash bounty))]
|
||||
(cond
|
||||
(:payout_hash bounty) :paid
|
||||
(nil? (:payout_address bounty)) :pending-contributor-address
|
||||
(nil? (:confirm_hash bounty)) :pending-maintainer-confirmation
|
||||
(:payout_hash bounty) :paid
|
||||
:else :merged)
|
||||
(cond ; not yet merged
|
||||
(< 1 (count (:claims bounty))) :multiple-claims
|
||||
|
Loading…
x
Reference in New Issue
Block a user