Change API total coins format
This commit is contained in:
parent
22f3d09d56
commit
e2845d643f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user