From 61f48abb7d42d2850bddddf49ca920b20f736cba Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Mon, 21 Jul 2025 12:30:05 +0300 Subject: [PATCH] return on navigation inputs to prevent data processing --- handlers/application/poolswap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/application/poolswap.go b/handlers/application/poolswap.go index ca728e6..9f1c9bb 100644 --- a/handlers/application/poolswap.go +++ b/handlers/application/poolswap.go @@ -161,7 +161,7 @@ func (h *MenuHandlers) SwapMaxLimit(ctx context.Context, sym string, input []byt res.FlagReset = append(res.FlagReset, flag_incorrect_voucher, flag_low_swap_amount) inputStr := string(input) - if inputStr == "0" { + if inputStr == "0" || inputStr == "99" || inputStr == "88" || inputStr == "98" { return res, nil }