From a1c539c0d7940c144a4b4fe612974b9e3676730b Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Sun, 27 Nov 2022 01:34:35 +0530 Subject: [PATCH] bug fix --- index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.html b/index.html index 6ac5b5f..6412873 100644 --- a/index.html +++ b/index.html @@ -40,9 +40,8 @@ floDapps.launchStartUp().then(result => { console.log(result) let floId = floDapps.user.id - if (/\w{34,35}$/.test(floId)) { + if (!floCrypto.validateFloID(floId)) { const type = coinjs.addressDecode(floId).type - console.log(floId, type) if (type === 'standard') { floId = btcOperator.convert.legacy2legacy(floId, 0x23); } else if (type === 'bech32') {