ArboreumDev / credit-union-frontend

Frontend in Next.js + Typescript + GraphQL
https://frontend-two-sandy.vercel.app
1 stars 0 forks source link

after full repay, there is still some shares left (money being shown as invested) #205

Open djudjuu opened 3 years ago

djudjuu commented 3 years ago

there are tests in the backend to make sure that all user shares are zero, so its odd that there are some left in the frontend...maybe the issue is somewhere in how the portfolioUpdates are being processed

add a test in the backend that the system balance before last repayment + system Update comes out at zero