From 193aba3adf1899a81503949b81314e1c66c65ad2 Mon Sep 17 00:00:00 2001 From: raviycoder <135521192+raviycoder@users.noreply.github.com> Date: Sun, 14 Jul 2024 16:14:37 +0530 Subject: [PATCH] change some ui issues --- index.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 4f8b974..2a837a3 100644 --- a/index.html +++ b/index.html @@ -406,6 +406,9 @@ document.addEventListener("popupclosed", (e) => { zIndex--; switch (e.target.id) { + case "retrieve_btc_addr_popup": + getRef("recovered_btc_addr_wrapper").classList.add("hidden"); + break; } }); //Function for displaying toast notifications. pass in error for mode param if you want to show an error. @@ -1839,15 +1842,6 @@ }); } else retrieve(); } - function wif2SolanaAddress(wif) { - var k1, k2, k3, k4, k5; - k1 = coinjs.wif2privkey(wif); - k2 = Crypto.util.hexToBytes(k1.privkey); - k3 = Uint8Array.from(k2); - k4 = solanaWeb3.Keypair.fromSeed(k3); - k5 = k4.publicKey.toString(); - return k5; - }