From 69b73acdf866cc286634274d8498acd33b39a605 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Sun, 15 Oct 2023 13:11:39 +0530 Subject: [PATCH] Update floCloudAPI.js --- scripts/floCloudAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/floCloudAPI.js b/scripts/floCloudAPI.js index 057fb38..bf42b7a 100644 --- a/scripts/floCloudAPI.js +++ b/scripts/floCloudAPI.js @@ -420,7 +420,7 @@ })); } else if ((address.length == 42 && address.startsWith("0x")) || (address.length == 40 && !address.startsWith("0x"))){ //Ethereum Address if (address.startsWith("0x")) { address = address.substring(2);} - bytes = Crypto.util.hexToBytes(address), { asBytes: true }; + bytes = Crypto.util.hexToBytes(address); } if (!bytes)