Update floCloudAPI.js
This commit is contained in:
parent
35128829d2
commit
69b73acdf8
@ -420,7 +420,7 @@
|
|||||||
}));
|
}));
|
||||||
} else if ((address.length == 42 && address.startsWith("0x")) || (address.length == 40 && !address.startsWith("0x"))){ //Ethereum Address
|
} else if ((address.length == 42 && address.startsWith("0x")) || (address.length == 40 && !address.startsWith("0x"))){ //Ethereum Address
|
||||||
if (address.startsWith("0x")) { address = address.substring(2);}
|
if (address.startsWith("0x")) { address = address.substring(2);}
|
||||||
bytes = Crypto.util.hexToBytes(address), { asBytes: true };
|
bytes = Crypto.util.hexToBytes(address);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!bytes)
|
if (!bytes)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user