AmbireTech / adex-platform

AdEx Platform UI
https://platform.adex.network
GNU General Public License v3.0
58 stars 19 forks source link

When withdrawing tokens from identity amount is not validated #256

Closed TRtomasz closed 4 years ago

TRtomasz commented 4 years ago

Describe the bug When withdrawing tokens from identity amount is not validated so it is possible to provide not valid amount

To Reproduce Steps to reproduce the behavior:

  1. You must have added Set Privileges to Withdrawn in the identity settings to another account
  2. Login with metamask using account mentioned in the previous step
  3. Go to https://staging.adex.network/#/dashboard/advertiser/account
  4. Click advanced
  5. Click withdrawn tokens from identity
  6. In the amount field type anything below 0.15

Expected behavior Amount should be validated and there should be a warning message about amoun being to small

Screenshots image

Desktop (please complete the following information): Every

Smartphone (please complete the following information): EVery

Additional context Add any other context about the problem here.

ivopaunov commented 4 years ago

fixed with https://github.com/AdExNetwork/adex-platform/releases/tag/v4.10.34