From 42f7b0f8a792154e595028b8c3aa19f03f221bf6 Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Tue, 3 Feb 2026 13:34:05 +0300 Subject: [PATCH] remove the api failure flag if no swappable vouchers are found --- handlers/application/balance.go | 1 - 1 file changed, 1 deletion(-) diff --git a/handlers/application/balance.go b/handlers/application/balance.go index d2d92d7..5a6c1b2 100644 --- a/handlers/application/balance.go +++ b/handlers/application/balance.go @@ -165,7 +165,6 @@ func (h *MenuHandlers) CalculateCreditAndDebt(ctx context.Context, sym string, i // call the api using the activePoolAddress to get a list of SwapToSymbolsData swappableVouchers, err := h.accountService.GetPoolSwappableFromVouchers(ctx, string(activePoolAddress), string(publicKey)) if err != nil { - res.FlagSet = append(res.FlagSet, flag_api_call_error) logg.ErrorCtxf(ctx, "failed on GetPoolSwappableFromVouchers", "error", err) return res, nil }