Sia-UI
Sia-UI copied to clipboard
BigNumber() number type has more than 15 significant digits
The exact error message in the dev tools console is:
error fetching defaults: BigNumber Error: new BigNumber() number type has more than 15 significant digits: 0.7748867277172958
It is being thrown from this line:
https://github.com/NebulousLabs/Sia-UI/blob/6629b14235e4e3391e335892f8904fba4b1a1085/plugins/Hosting/js/sagas/saga.js#L255
I am on v1.3.1 on Windows Server 2016 and hosting space.
This used to be related to the way BigNumber handled longer numbers when ERRORS
was set to true, however this has changed since March because they removed ERRORS
, so if this is still an issue, the call to BigNumber
should be new BigNumber(res.conversionrate.toString())
instead.