Polkadex-Substrate / Polkadex-Orderbook-Frontend

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

Don't allow transfer between same funding account #1280

Open Hildajose opened 5 months ago

Hildajose commented 5 months ago

📝 Bug Description

A user is able to transfer amounts between their own funding accounts

🤔 Expected Behavior

Don't allow transfer between same funding account

😯 Current Behavior

now user is able to transfer the amount between the funding accounts

https://github.com/Polkadex-Substrate/Polkadex-Orderbook-Frontend/assets/148185509/7e94fcda-2d83-44b7-8cc8-a6b1e3dcae98

🔎 Steps to Reproduce

  1. login with the funding account
  2. Navigate to transfer page
  3. select transfer to another funding account option from dropdown
  4. give the same funding account in "To" and "from" sections
  5. verify the user able to make a trade

💁 Possible Solution

🌍 Your Environment

Software Version(s)
Project/Package
Browser []Chrome []Firefox []Safari
Operating System []Windows []MacOS []Linux