From e2845d643f0097110390108a17e11a43fdf0826c Mon Sep 17 00:00:00 2001 From: shunmugam Date: Wed, 18 Sep 2019 10:53:18 +0530 Subject: [PATCH] Change API total coins format --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index 77da8f6..ef6f543 100644 --- a/server.ts +++ b/server.ts @@ -141,7 +141,7 @@ try { else if(option == "getdifficulty-progpow") result = Number(blockDetails.TotalDifficultyProgpow); else if(option == "totalcoins") - result = 21000000; + result = 21000000 * 100000000; else if(option == "getblockhash") { let height = req.query.height;