Updated FLO IDs and variable names

This commit is contained in:
tripathyr 2022-11-17 10:43:59 +05:30 committed by GitHub
parent 559a273e39
commit 247c498f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,12 +15,13 @@
//Required for blockchain API operators //Required for blockchain API operators
apiURL: { 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/'] FLO_TEST: ['https://testnet-flosight.duckdns.org/', 'https://testnet.flocha.in/']
}, },
//adminID: null, //adminID: null,
RMincorporationID: "FKNW5eCCp2SnJMJ6pLLpUCvk5hAage8Jtk", RMincorporationID: "FKNW5eCCp2SnJMJ6pLLpUCvk5hAage8Jtk",
RMcertificateProvider: "FFCpiaZi31TpbYw5q5VNk8qJMeDiTLgsrE", RIBC_id: "FDaX363r1ooANA9A2erhehhigNTnidq3o4",
RM_CertificateIssuer_id: "FFCpiaZi31TpbYw5q5VNk8qJMeDiTLgsrE",
//sendAmt: 0.001, //sendAmt: 0.001,
//fee: 0.0005, //fee: 0.0005,
} }
@ -277,12 +278,12 @@
oVerify = false, oVerify = false,
cVerify = false; cVerify = false;
for (let i of tx.vin) for (let i of tx.vin)
if (floGlobals.RMcertificateProvider === i.addr) { if (floGlobals.RM_CertificateIssuer_id === i.addr) {
iVerify = true; iVerify = true;
break; break;
} }
for (let o of tx.vout) 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; oVerify = true;
break; break;
} }
@ -327,4 +328,4 @@
</script> </script>
</body> </body>
</html> </html>