expandorg / worker-app

worker application
https://portal.expand.org/
Mozilla Public License 2.0
2 stars 0 forks source link

15 numbers max limit for bignumber js #199

Closed kieranoreilly closed 5 years ago

kieranoreilly commented 5 years ago

If the user has a huge balance the app crashes

kieranoreilly commented 5 years ago

@sslava can we move this to a high priority

sslava commented 5 years ago

sure

sslava commented 5 years ago

so, for the userBalance ops i tried to replace bignumber with plain number operations and everything works fine. Let's see how it goes and probably apply BN or other decimal lib if necessary.