remove 8 digit zero in unwanted place

This commit is contained in:
shunmugam 2019-09-18 11:52:32 +05:30
parent 7425164a03
commit 9c13dcc459

View File

@ -129,9 +129,9 @@ try {
{ {
let result; //500 let result; //500
if(option == "circulating") if(option == "circulating")
result= blockDetails.coin_existence * 100000000; result= blockDetails.coin_existence;
else if(option == "reward") else if(option == "reward")
result= blockDetails.currentReward * 100000000; result= blockDetails.currentReward;
else if(option == "getblockcount") else if(option == "getblockcount")
result= blockDetails.block_height; result= blockDetails.block_height;
else if(option == "getdifficulty-randomx") else if(option == "getdifficulty-randomx")