brinc-finance / brinc-bugbounty

Brinc Bug Bounty Program
1 stars 0 forks source link

[FRONTEND] After success swap, if all from token spent, it showing wrong result #6

Open WillXing opened 3 years ago

WillXing commented 3 years ago

Bug Description: If spend all amount of the FROM token, after successfully swap, the button will show Insufficient XXX Balance instead of Start another trade

Expected Behaviour: Clean up the box, and show another trade button

Actual Behaviour:** Showing insufficient XXX Balance instead

Suspected Criticality Level: Medium

Steps to reproduce:**

  1. Swap all amount of the token you have for example DAI, to BRQ
  2. Confirm and wait for the transaction to finish
  3. then check the result on screen

System Information: Chrome

Additional Info:

image

image

araskachoi commented 3 years ago

Hello! Thank you for your submission! This is correct, you have found that the front end does not prompt a "Transation Successful", but instead gives an incorrect message regarding "Insufficient XXX Balance". Thank you for this submission and I will keep you updated on the progress of this ticket!!