From 247c498f351d3f82a06d00e5f1e5ae8025c222f2 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Thu, 17 Nov 2022 10:43:59 +0530 Subject: [PATCH] Updated FLO IDs and variable names --- index.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 7fc36c3..c87709c 100644 --- a/index.html +++ b/index.html @@ -15,12 +15,13 @@ //Required for blockchain API operators apiURL: { - FLO: ['https://livenet.flocha.in/', 'https://flosight.duckdns.org/'], + FLO: ['https://flosight.duckdns.org/'], FLO_TEST: ['https://testnet-flosight.duckdns.org/', 'https://testnet.flocha.in/'] }, //adminID: null, RMincorporationID: "FKNW5eCCp2SnJMJ6pLLpUCvk5hAage8Jtk", - RMcertificateProvider: "FFCpiaZi31TpbYw5q5VNk8qJMeDiTLgsrE", + RIBC_id: "FDaX363r1ooANA9A2erhehhigNTnidq3o4", + RM_CertificateIssuer_id: "FFCpiaZi31TpbYw5q5VNk8qJMeDiTLgsrE", //sendAmt: 0.001, //fee: 0.0005, } @@ -277,12 +278,12 @@ oVerify = false, cVerify = false; for (let i of tx.vin) - if (floGlobals.RMcertificateProvider === i.addr) { + if (floGlobals.RM_CertificateIssuer_id === i.addr) { iVerify = true; break; } for (let o of tx.vout) - if (floGlobals.RMincorporationID === o.scriptPubKey.addresses[0]) { + if ((floGlobals.RMincorporationID === o.scriptPubKey.addresses[0]) || (floGlobals.RIBC_id === o.scriptPubKey.addresses[0])) { oVerify = true; break; } @@ -327,4 +328,4 @@ - \ No newline at end of file +