bug fix
This commit is contained in:
parent
2c581813b5
commit
a1c539c0d7
@ -40,9 +40,8 @@
|
|||||||
floDapps.launchStartUp().then(result => {
|
floDapps.launchStartUp().then(result => {
|
||||||
console.log(result)
|
console.log(result)
|
||||||
let floId = floDapps.user.id
|
let floId = floDapps.user.id
|
||||||
if (/\w{34,35}$/.test(floId)) {
|
if (!floCrypto.validateFloID(floId)) {
|
||||||
const type = coinjs.addressDecode(floId).type
|
const type = coinjs.addressDecode(floId).type
|
||||||
console.log(floId, type)
|
|
||||||
if (type === 'standard') {
|
if (type === 'standard') {
|
||||||
floId = btcOperator.convert.legacy2legacy(floId, 0x23);
|
floId = btcOperator.convert.legacy2legacy(floId, 0x23);
|
||||||
} else if (type === 'bech32') {
|
} else if (type === 'bech32') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user