persistenceOne / pStake-bugBounty

This repository is to record issues reported for the pStake bug bounty program.
3 stars 2 forks source link

low bug #30

Open Mihail233 opened 3 years ago

Mihail233 commented 3 years ago

Describe the bug Bug associated with the "-" sign when staking. If you enter a "-" sign in front of the number, then nothing will happen or just show -1 $.

To Reproduce Steps to reproduce the behaviour:

  1. Go to the staking or wrap tab
  2. Write "-" before the number

Expected behaviour You need it to just not fit in like it usually does Screenshots https://prnt.sc/1896jdv Desktop (please complete the following information): windows

Ethereum address 0x941031790228a8a2c427070F0d907EB24Dbe5702

Criticality Assessment Please pick one:

kombos commented 2 years ago

this is not a bug. the textbox will allow you to enter a negative value but the instant you click on the action button, it initiates the validation of the input value and provides notification if an invalid value has been entered. this is part of the common design methodology for form filling in react apps