skycoin / skycoin

Skycoin Core and Wallet

Home Page:https://www.skycoin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/api/v1/coinSupply Droplet string conversion failed: Value is too large (fibercoins)

0pcom opened this issue · comments

When a fibercoin is created with a higher max supply than the default for skycoin, i.e.;

max_coin_supply = 2e8

the explorer will not display the supply information correctly

/api/v1/coinSupply gives the following error:

500 Internal Server Error - Failed to convert coins to string: Droplet string conversion failed: Value is too large

src/api/explorer.go Line 87 is where the error is generated

which is calling src/util/droplet/droplet.go Line 87