As reported by @Jon_Hodl, founders of multiple territories were only receiving revenue for one of their territories each day.
The change I just pushed made these founders whole: for each day we should've paid them revenue on multiple territories, we've back paid them for ALL territories including repaying them for the one territory they were already paid for.
A description of the cause of the bug can be found in the footnote of this comment, which might be informative for anyone else that's in an abusive relationship with postgres.
This bug has also been fixed for any future territory revenue payments. Additionally, we weren't adding territory revenue to
sats stacked
as seen in profiles and that's been fixed retroactively and into the future.The following past or current owners of multiple territories suffered from this bug and should, by the time this is posted, experienced the shown increase in their wallet balances:
nym | back sats |
---|---|
@siggy47 | 541782 |
@benwehrman | 333332 |
@davidw | 193687 |
@ek | 131699 |
@AtlantisPleb | 109638 |
@MaxAWebster | 70078 |
@OneOneSeven | 61384 |
@UCantDoThatDotNet | 54372 |
@Jon_Hodl | 37607 |
@nout | 26488 |
@needcreations_ | 19527 |
@south_korea_ln | 6663 |
@BlokchainB | 6371 |
@lloyddunne | 4829 |
@roytheholographicuniverse | 4201 |
@niftynei | 4065 |
@UCantDoThatDotRugged | 3388 |
@kr | 1851 |
@antic | 1079 |
@Ed_Relight | 87 |
update
statement might not do what it appears to - we couldn't easily reason about this a priori.