From d32f2ab0b56141c14f95ef27dcf556e33d755e58 Mon Sep 17 00:00:00 2001 From: raviycoder <135521192+raviycoder@users.noreply.github.com> Date: Sat, 20 Jul 2024 12:50:16 +0530 Subject: [PATCH] resolve transaction error in send page --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 2a837a3..74dc707 100644 --- a/index.html +++ b/index.html @@ -1603,6 +1603,9 @@ getRef("sender_balance_container").classList.add("hidden"); } catch (e) { console.error(e.message); + showTransactionResult("failed", { + description: `Insufficient ${asset.toUpperCase()} balance`, + }); const regex = /\(error=({.*?}),/; const match = e.message.match(regex); if (match && match[1]) {