From 84721db47b3ad36e7a2f62122b1106686b9c1498 Mon Sep 17 00:00:00 2001 From: SuriyaR Date: Tue, 9 Jun 2020 13:53:09 +0200 Subject: [PATCH] Commit fix count of 0 --- server/utils/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/common.ts b/server/utils/common.ts index 27e390d..55a98e7 100644 --- a/server/utils/common.ts +++ b/server/utils/common.ts @@ -254,7 +254,7 @@ const latestBlockDetails = async()=> { const space_new = await exec('du -sk /root/.epic/main/'); //let disk_space_kb = space_new.stdout.split('\t')[0]; - let disk_space_kb = (space_new.stdout.split('\t')[0] / 100000).toFixed(2)+"G"; + let disk_space_kb = (space_new.stdout.split('\t')[0] / 1000000).toFixed(2)+"G"; let height = BlockchainLatestBlockQuery[0].height; var coin_existence; // if (height > 12960) {