From ff3c625aaa0a193e12f6b6b7f11130e95c7af363 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 12 Jul 2024 13:49:25 -0400 Subject: [PATCH] Removed unecessary comments --- src/background.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/background.ts b/src/background.ts index e8bb68d..f523d0e 100644 --- a/src/background.ts +++ b/src/background.ts @@ -118,8 +118,7 @@ async function getBalanceInfo() { const address = wallet.address0; const validApi = await findUsableApi(); const response = await fetch(validApi + "/addresses/balance/" + address); -// Start Point: ideas - decide on what level to fix this problem: api, background.ts, or on the UI. -// https://github.com/Qortal/chrome-extension/issues/7 + if (!response?.ok) throw new Error("Cannot fetch balance"); const data = await response.json(); return data;