From 7c98246b6292c952da27d4ad0be264f200e90992 Mon Sep 17 00:00:00 2001 From: TheTrunk Date: Wed, 13 Nov 2024 22:40:16 +0800 Subject: [PATCH] fix --- src/services/application/checks.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/application/checks.js b/src/services/application/checks.js index ea13401..76cdc8a 100644 --- a/src/services/application/checks.js +++ b/src/services/application/checks.js @@ -499,12 +499,12 @@ async function checkCloudAtlasWebsite(ip, port) { } async function extendedInsightTest(url, blockUlr, txUrl) { - const response = await getRequest(url); + const response = await serviceHelper.httpGetRequest(url, 8888); const blockUrlAdjusted = blockUlr + response.data.blocks[0].hash; - const responseB = await getRequest(blockUrlAdjusted); + const responseB = await serviceHelper.httpGetRequest(blockUrlAdjusted, 8888); const { txid } = responseB.data.txs[0]; const adjustedUrlTx = txUrl + txid; - const responseC = await getRequest(adjustedUrlTx); + const responseC = await serviceHelper.httpGetRequest(adjustedUrlTx, 8888); if (responseC.data.confirmations < -2) { return false }