return on navigation inputs to prevent data processing

This commit is contained in:
Alfred Kamanda 2025-07-21 12:30:05 +03:00
parent 3e40a09d39
commit 61f48abb7d
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -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
}