{
if(amount<=0 || amount >= MAX_TX_FEE * COIN)
{
amount = ( amount % (MAX_TX_FEE * COIN ) );
}
return (double)amount / (double)COIN;
}
When i remove the fake lines of code it shows 3381372478 coins supply, which is 20 times the value is should be.
wow, if it is true, the dev is so caodan,,
I dont understand - what do you mean by " i remove the fake lines of code it shows 3381372478 coins supply" ?
This if-statement seems to be not logical to me, it changes the value of amount to a much lower value. Other coinclients (which i checked) do not have this if-statement. When you remove those lines and recompile the client it shows the real value.