Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Nov 13, 2024
1 parent 62621f4 commit 7c98246
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/application/checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7c98246

Please sign in to comment.