diff --git a/server.ts b/server.ts index 9206147..7c4ebd1 100644 --- a/server.ts +++ b/server.ts @@ -129,7 +129,7 @@ try { { let result; //500 if(option == "circulating") - result= blockDetails.userReward; + result= blockDetails.coin_existence; else if(option == "reward") result= blockDetails.currentReward; else if(option == "getblockcount") @@ -140,10 +140,8 @@ try { result = Number(blockDetails.TotalCuckoo); else if(option == "getdifficulty-progpow") result = Number(blockDetails.TotalDifficultyProgpow); - else if(option == "maxcoins") - result = 21000000; else if(option == "totalcoins") - result= blockDetails.coin_existence; + result = 21000000 * 100000000; else if(option == "average-blocktime") { let data = await averageblockdifficulty();