stakwork / sphinx-tribes-frontend

Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
12 stars 42 forks source link

Unsettled deposit invoices are marked as deposited in org txn history #276

Closed ecurrencyhodler closed 8 months ago

ecurrencyhodler commented 8 months ago

Describe the bug An unsettled invoice in an org is marked as "paid" if someone generates an invoice, goes out of the org, then comes back to the org.

https://github.com/stakwork/sphinx-tribes-frontend/assets/32662508/2b1a97b0-c96f-4973-af2b-e14ecb2237b8

Good news is that the org balance isn't updated.

Expected behavior Deposit invoices that aren't settled shouldn't be displayed as "deposited" in the org txn history. Org amount should also not be updated.

Acceptance Criteria

Here is an example unit test Here is an example component test

jordan-ae commented 8 months ago

@ecurrencyhodler i can help with this

ColdMice commented 8 months ago

@ecurrencyhodler I take this one boss?

saithsab877 commented 8 months ago

Hi @ecurrencyhodler, Could you assign to me? When you post the bounty.

ecurrencyhodler commented 8 months ago

We need to investigate this a bit more. Thanks ya'll.

ecurrencyhodler commented 8 months ago

This is raph's.