From 6f58eaeb5f502a75438500453e85058f9330a7f8 Mon Sep 17 00:00:00 2001 From: shunmugam Date: Wed, 8 Jan 2020 14:56:13 +0530 Subject: [PATCH] Modifcations --- server/utils/common.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/utils/common.ts b/server/utils/common.ts index eb9c9ee..102af2d 100644 --- a/server/utils/common.ts +++ b/server/utils/common.ts @@ -287,7 +287,6 @@ let currentReward = 16; let cuckoohashrate = await network_hashrate(block_height,31,targetdifficultycuckatoo); let progpowhashrate = await network_hashrate(block_height,16,targetdifficultyprogpow); let randomxhashrate = await network_hashrate(block_height,16,targetdifficultyrandomx); - let test = await avgBlockTime(block_height) return { block_height, letest_block, @@ -380,7 +379,7 @@ async function avgBlockTime(height) { .catch(err_msg => { return(err_msg); }); - return blockaveragetime['alter'] + return blockaveragetime[0]['alter'] }