Modifcations

This commit is contained in:
shunmugam 2020-01-08 14:56:13 +05:30
parent 5fc90e7d91
commit 6f58eaeb5f

View File

@ -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']
}