Change API total coins format

This commit is contained in:
shunmugam 2019-09-18 10:53:18 +05:30
parent 22f3d09d56
commit e2845d643f

View File

@ -141,7 +141,7 @@ try {
else if(option == "getdifficulty-progpow") else if(option == "getdifficulty-progpow")
result = Number(blockDetails.TotalDifficultyProgpow); result = Number(blockDetails.TotalDifficultyProgpow);
else if(option == "totalcoins") else if(option == "totalcoins")
result = 21000000; result = 21000000 * 100000000;
else if(option == "getblockhash") else if(option == "getblockhash")
{ {
let height = req.query.height; let height = req.query.height;