celo-composer icon indicating copy to clipboard operation
celo-composer copied to clipboard

Error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported

Open alofeoluwafemi opened this issue 2 years ago • 0 comments

Screen Shot 2022-07-18 at 7 21 08 PM

When connecting a wallet with low Celo balance everything seem to work fine until you open a Celo wallet with a high balance in my case 3700+ Celo Tokens. Converting the CELO variable from getTotalBalnce returns an exponential string which web3.utils.fromWei cannot handle.

alofeoluwafemi avatar Jul 18 '22 17:07 alofeoluwafemi