diff --git a/index.html b/index.html index 326fd06..7f4529e 100644 --- a/index.html +++ b/index.html @@ -2921,14 +2921,10 @@ try { let wallet; - if (typeof tonCrypto !== "undefined" && tonCrypto.recoverFromInput) { + if (typeof tonCrypto !== "undefined" ) { wallet = await tonCrypto.recoverFromInput(privateKeyInput); - } else { - // Fallback to getSenderWallet with the provided key - wallet = await tonBlockchainAPI.getSenderWallet(privateKeyInput); } const tonData = wallet.TON || wallet; - // Pre-convert the TON address to avoid Promise display const friendlyTonAddress = await convertTob64(tonData.address); output.innerHTML = ` @@ -3049,7 +3045,6 @@