emeth-defi-automation / portfolio-management-platform

0 stars 1 forks source link

debugging loading balances for wallet #251

Closed Gawc1uuu closed 2 months ago

Gawc1uuu commented 2 months ago

when we listen for records from live query they come in descending order. so when we quickly click on wallet the balance is set for the last thing that is created in db which is the oldest balance (because we listen for create action). check i added prevents balance being overwritten by some older historical balance.