diff --git a/index.html b/index.html
index 49477c7..9d15680 100644
--- a/index.html
+++ b/index.html
@@ -106,12 +106,27 @@
const { validFrom, validTo, issuedBy, revokedBy } = floGlobals.approvedKyc[address];
const validFromFormatted = getFormattedTime(validFrom, 'date-only');
const validToFormatted = getFormattedTime(validTo, 'date-only');
+ const floID = floCrypto.toFloID(address)
+ const btcID = btcOperator.convert.legacy2bech(floID)
if (validFrom <= Date.now() && Date.now() <= validTo) {
getRef('verification_result').dataset.status = 'valid';
renderElem(getRef('verification_result'), html`
-
Verified KYC
+
KYC successfully verified
+
+
+
Address
+
+
+ BTC:
+
+
+
+ FLO:
+
+
+
Issued by
@@ -164,7 +179,7 @@
renderElem(getRef('verification_result'), html`
-
KYC not found
+
KYC data not found
`);
getRef('verification_result').dataset.status = 'invalid';
diff --git a/manage.html b/manage.html
index 5e1fc71..de3fb99 100644
--- a/manage.html
+++ b/manage.html
@@ -451,10 +451,8 @@
const uniqueAddresses = new Set()
addresses.forEach(address => {
let equivalentBtcAddress = address
- if (getRef('manage_type').value === 'aggregator' && floCrypto.validateFloID(address))
+ if (floCrypto.validateFloID(address))
equivalentBtcAddress = btcOperator.convert.legacy2bech(address)
- else
- equivalentBtcAddress = floCrypto.toFloID(address)
uniqueAddresses.add(equivalentBtcAddress)
})
return [...uniqueAddresses]
diff --git a/scripts/chainkyc.js b/scripts/chainkyc.js
index 4b0a383..a826ed9 100644
--- a/scripts/chainkyc.js
+++ b/scripts/chainkyc.js
@@ -219,6 +219,7 @@ function getApprovedKycs() {
});
break;
case 'REVOKE_KYC':
+ console.log(operationData)
operationData.split(',').forEach(address => {
if (!floGlobals.approvedKyc[address]) return
floGlobals.approvedKyc[address].validTo = time * 1000;