Commit for circulating supply API
This commit is contained in:
parent
89c429f382
commit
2be889d036
@ -129,7 +129,7 @@ try {
|
||||
{
|
||||
let result; //500
|
||||
if(option == "circulating")
|
||||
result= blockDetails.coin_existence;
|
||||
result= blockDetails.coin_existence - blockDetails.totalFoundationReward;
|
||||
else if(option == "reward")
|
||||
result= blockDetails.currentReward;
|
||||
else if(option == "getblockcount")
|
||||
|
@ -465,8 +465,6 @@ let currentReward = 16;
|
||||
|
||||
// Total foundation reward
|
||||
let totalFoundationReward = await circulationsupply(height)
|
||||
console.log("------------------------------------------------------------------");
|
||||
console.log("Current foundation reward is ", totalFoundationReward)
|
||||
|
||||
return {
|
||||
block_height,
|
||||
|
Loading…
Reference in New Issue
Block a user