plotx / plotx-v2-bug-tracking

1 stars 0 forks source link

Max deposit not working with Ethereum #2

Closed SamDevGH closed 3 years ago

SamDevGH commented 3 years ago

Type of report Bug

Page Deposit

Description When you're depositing for the first time, and you:

  1. Select Ethereum
  2. Click the MAX button to deposit all your PLOT
  3. Click on Deposit

The transaction fails. This is because a first-time deposit requires an approval transaction as well and when you click on the MAX button, the approval step is skipped.

What should happen is that when you click the MAX button, and this is your first time interacting with PLOT, the Approve button should appear (like it does when you enter any amount manually).

ankitnirwal commented 3 years ago

@Samagra-Dev , this issue is fixed now, please review once and close this issue.

SamDevGH commented 3 years ago

@ankitnirwal I needed to hard refresh the app to confirm the fix. Is it possible to avoid this?