This commit is contained in:
sairaj mote 2022-11-27 01:34:35 +05:30
parent 2c581813b5
commit a1c539c0d7

View File

@ -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') {