Polkadex-Substrate / Polkadex-Orderbook-Frontend

https://orderbook.polkadex.trade
3 stars 3 forks source link

Available balance of DOT displayed incorrectly #1327

Closed Hildajose closed 2 months ago

Hildajose commented 2 months ago

πŸ“ Bug Description

https://deploy-preview-1325--stupendous-valkyrie-505e4a.netlify.app/thea?from=Bifrost&to=Polkadex&asset=DOT - In this link ,the available DOT amount in Bifrost network is displayed incorrectly in the asset drop-down arrow pop-up. The available balance for DOT is the available balance of vDOT

πŸ€” Expected Behavior

The available balance of DOT should be displayed properly in the asset drop-down pop-up window

😯 Current Behavior

The available balance of DOT displayed incorrectly in the asset drop-down pop-up window. It displayed the balance of vDOT

πŸ”Ž Steps to Reproduce

  1. Click Bridge tab
  2. Connect the funding account for "From" and "To" Network
  3. select Bifrost in From Network
  4. select Polkadex in To network
  5. select the asset drop-down button
  6. Verify the available balance displayed of DOT in pop-up

https://github.com/Polkadex-Substrate/Polkadex-Orderbook-Frontend/assets/148185509/cea0ce23-308d-4723-9080-bc9890aaf777

πŸ’ Possible Solution

🌍 Your Environment

Software Version(s)
Project/Package
Browser []Chrome []Firefox []Safari
Operating System []Windows []MacOS []Linux
Hildajose commented 2 months ago

Tested and verified image