diff --git a/server/utils/common.ts b/server/utils/common.ts index 102af2d..bc1da42 100644 --- a/server/utils/common.ts +++ b/server/utils/common.ts @@ -284,9 +284,12 @@ let currentReward = 16; } } - let cuckoohashrate = await network_hashrate(block_height,31,targetdifficultycuckatoo); + let cuckoohashrate = await network_hashrate(block_height,31,targetdifficultycuckatoo+targetdifficultycuckaroo); let progpowhashrate = await network_hashrate(block_height,16,targetdifficultyprogpow); let randomxhashrate = await network_hashrate(block_height,16,targetdifficultyrandomx); + cuckoohashrate = Math.round(cuckoohashrate) + progpowhashrate = Math.round(progpowhashrate) + randomxhashrate = Math.round(randomxhashrate) return { block_height, letest_block, diff --git a/src/app/view/home/block-detail-list/block-detail-list.component.html b/src/app/view/home/block-detail-list/block-detail-list.component.html index aecfc87..a4f1cd5 100644 --- a/src/app/view/home/block-detail-list/block-detail-list.component.html +++ b/src/app/view/home/block-detail-list/block-detail-list.component.html @@ -167,18 +167,18 @@