diff --git a/handlers/application/pools.go b/handlers/application/pools.go index c53fa82..65e5f4c 100644 --- a/handlers/application/pools.go +++ b/handlers/application/pools.go @@ -100,6 +100,10 @@ func (h *MenuHandlers) ViewPool(ctx context.Context, sym string, input []byte) ( flag_incorrect_pool, _ := h.flagManager.GetFlag("flag_incorrect_pool") inputStr := string(input) + if inputStr == "0" || inputStr == "99" || inputStr == "88" || inputStr == "98" { + res.FlagReset = append(res.FlagReset, flag_incorrect_pool) + return res, nil + } poolData, err := store.GetPoolData(ctx, h.userdataStore, sessionId, inputStr) if err != nil { diff --git a/services/registration/main.vis b/services/registration/main.vis index c606ff7..c48a43d 100644 --- a/services/registration/main.vis +++ b/services/registration/main.vis @@ -9,14 +9,16 @@ MAP check_balance MOUT send 1 MOUT swap 2 MOUT vouchers 3 -MOUT account 4 -MOUT help 5 +MOUT select_pool 4 +MOUT account 5 +MOUT help 6 MOUT quit 9 HALT INCMP send 1 INCMP swap_to_list 2 INCMP my_vouchers 3 -INCMP my_account 4 -INCMP help 5 +INCMP select_pool 4 +INCMP my_account 5 +INCMP help 6 INCMP quit 9 INCMP . * diff --git a/services/registration/my_vouchers.vis b/services/registration/my_vouchers.vis index d196e07..0146ceb 100644 --- a/services/registration/my_vouchers.vis +++ b/services/registration/my_vouchers.vis @@ -2,11 +2,9 @@ LOAD reset_account_authorized 16 RELOAD reset_account_authorized MOUT select_voucher 1 MOUT voucher_details 2 -MOUT select_pool 3 MOUT back 0 HALT INCMP _ 0 INCMP select_voucher 1 INCMP voucher_details 2 -INCMP select_pool 3 INCMP . *