eoscostarica / evodex

Official Web Interface for Evolution DEX on EOS mainnet :rocket:
MIT License
21 stars 23 forks source link

My pools does not update after removing liquidity #230

Closed PixelNoob closed 4 years ago

PixelNoob commented 4 years ago

Describe the bug When you add liquidity to a pair, that pair appears under the "my pools" section, however when you remove that liquidity you can still see the pair under "my pools" even though you no longer have a stake on that pool.

To Reproduce Steps to reproduce the behavior:

  1. Add liquidity to any pair
  2. Remove the liquidity added
  3. See error: Check to see if that pool is still under "my pools"

Expected behavior When you remove YOUR TOTAL liquidity for an specific pair, that pair should disappear from "my pools" section.

Screenshots Captura-de-pantalla-2020-10-09-a-la-s-10-39-57

In the screenshot above you can see the EOSVIG pool under "my pools" even though I no longer participate on that pool.

Additional context The issue was reported by an user that was confused and thought he has lost his funds because he saw a pool under my pools but he had no evotokens.