From ba23ebe93901814bd911f6858bec8a31ac87d1bf Mon Sep 17 00:00:00 2001 From: shunmugam Date: Fri, 10 Jan 2020 12:15:45 +0530 Subject: [PATCH] Change network hashrate --- server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.ts b/server.ts index c731770..d81001b 100644 --- a/server.ts +++ b/server.ts @@ -151,17 +151,17 @@ try { } else if(option == "network-hashrate-cuckoo") { - let data = await network_hashrate(blockDetails.block_height,31,blockDetails.targetdifficultycuckatoo); + let data = await network_hashrate(blockDetails.block_height,31,blockDetails.targetdifficultycuckatoo,"Cuckoo"); result = data; } else if(option == "network-hashrate-progpow") { - let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyprogpow); + let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyprogpow,"ProgPow"); result = data; } else if(option == "network-hashrate-randomx") { - let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyrandomx); + let data = await network_hashrate(blockDetails.block_height,16,blockDetails.targetdifficultyrandomx,"RandomX"); result = data; } else if(option == "getblockhash")