kyber-community-staking-protocol / frontend

0 stars 1 forks source link

Fixed formatting error #21

Closed 409H closed 3 years ago

409H commented 3 years ago

Fixed whitescreen error if you did an action with over 999 KNC. Also reported as the ledger issue

The issue was I was trying to issue a toFixed(2) on an already formatted string but it would only error out if you had did any action with kyber staking (deposit or withdraw) for other 999 KNC. I suspect this was reported as a ledger integration error because people were delegating high amounts via ledger instead of from metamask