paid? flag should be based off payout_receipt rather than payout_hash

This commit is contained in:
Rob Culliton 2018-05-15 21:26:07 -04:00
parent 6f268c85a4
commit 458a46ca62
No known key found for this signature in database
GPG Key ID: 6FDEF60B3DC84D94

View File

@ -87,7 +87,7 @@
;; special prefix or namespace for derived properties that
;; are added to domain records like this
;; e.g. `derived/paid?`
[id (assoc bounty :paid? (boolean (:payout_hash bounty)))])
[id (assoc bounty :paid? (boolean (:payout_receipt bounty)))])
(into {}))))
(reg-sub