Compare commits

...

3 Commits

Author SHA1 Message Date
b30e15caa5
remove additional RELOAD
Some checks failed
release / docker (push) Has been cancelled
2025-05-29 10:01:48 +03:00
71b4eff35e
add a catch for api failures 2025-05-29 10:00:44 +03:00
20954d287b
store the DATA_POOL_TO_BALANCES 2025-05-29 09:59:41 +03:00
3 changed files with 2 additions and 2 deletions

View File

@ -2789,6 +2789,7 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
// Store all swap_to tokens data
dataMap := map[storedb.DataTyp]string{
storedb.DATA_POOL_TO_SYMBOLS: data.Symbols,
storedb.DATA_POOL_TO_BALANCES: data.Balances,
storedb.DATA_POOL_TO_DECIMALS: data.Decimals,
storedb.DATA_POOL_TO_ADDRESSES: data.Addresses,
}

View File

@ -1,5 +1,3 @@
RELOAD swap_max_limit
CATCH api_failure flag_api_call_error 1
MAP swap_max_limit
MOUT back 0
HALT

View File

@ -7,6 +7,7 @@ MOUT back 0
HALT
LOAD swap_max_limit 64
RELOAD swap_max_limit
CATCH api_failure flag_api_call_error 1
CATCH . flag_incorrect_voucher 1
CATCH low_swap_amount flag_low_swap_amount 1
INCMP _ 0