mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 18:14:25 +00:00
Fix confirmed-payouts query
Fixes this use case: - two competing claims - one merged and signed-off -> GH paid comment shows wrong username in
This commit is contained in:
parent
8e4e27ffbe
commit
39d661feff
@ -315,6 +315,7 @@ WHERE
|
||||
p.issue_id = i.issue_id
|
||||
AND p.repo_id = i.repo_id
|
||||
AND r.repo_id = i.repo_id
|
||||
AND p.state = 1
|
||||
AND u.id = p.user_id
|
||||
AND i.payout_receipt IS NULL
|
||||
AND i.payout_hash IS NOT NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user