Mshuu / SwitchDexIssues

15 stars 6 forks source link

Max button is connected to entire ETH balance, not on orders balance. #54

Open snowkidind opened 4 years ago

snowkidind commented 4 years ago

When I hit the MAX button on the order menu, I hope for it to add the amount of I can possibly using the Ethereum I have available immediately. Instead it is displaying the max for all the Ethereum I have which included existing orders on the books.

In the example here, Max button auto displays (max Whackd balance) which costs far greater than ETH Available. Test should be: TOTAL should not be greater than ETH Available:

Screen Shot 2019-11-23 at 9 46 35 AM